wok-next annotate libsdl-net/receipt @ rev 10875
libsdl-net: Fixed to work with tazwok again.
| author | Christopher Rogers <slaxemulator@gmail.com> |
|---|---|
| date | Mon Jun 20 13:24:19 2011 +0000 (2011-06-20) |
| parents | a3d1232afa49 |
| children | 6eff489aa802 |
| rev | line source |
|---|---|
| pankso@1188 | 1 # SliTaz package receipt. |
| pankso@1188 | 2 |
| pankso@1188 | 3 PACKAGE="libsdl-net" |
| pankso@1188 | 4 SOURCE="SDL_net" |
| pankso@1188 | 5 VERSION="1.2.7" |
| pankso@1188 | 6 CATEGORY="x-window" |
| pankso@1188 | 7 SHORT_DESC="SDL net support." |
| pankso@1188 | 8 MAINTAINER="pankso@slitaz.org" |
| pankso@1188 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
| pankso@1188 | 10 WEB_SITE="http://www.libsdl.org/projects/SDL_net/" |
| pankso@1188 | 11 WGET_URL="http://www.libsdl.org/projects/SDL_net/release/$TARBALL" |
| pankso@1188 | 12 |
| pankso@10427 | 13 DEPENDS="libsdl" |
| pankso@10427 | 14 BUILD_DEPENDS="libsdl-dev" |
| pankso@10427 | 15 |
| pankso@1188 | 16 # Rules to configure and make the package. |
| pankso@1188 | 17 compile_rules() |
| pankso@1188 | 18 { |
| slaxemulator@10875 | 19 cd $src |
| pankso@10427 | 20 ./configure $CONFIGURE_ARGS && make && make install |
| pankso@1188 | 21 } |
| pankso@1188 | 22 |
| pankso@1188 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
| pankso@1188 | 24 genpkg_rules() |
| pankso@1188 | 25 { |
| pankso@1188 | 26 mkdir -p $fs/usr/lib |
| pankso@1188 | 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
| pankso@1188 | 28 } |