wok-stable annotate SDL_image/receipt @ rev 1102
Add: SDL_image SDL_mixer SDL_net SDL_ttf SDL_gfx
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jul 18 21:57:20 2008 +0200 (2008-07-18) |
parents | |
children |
rev | line source |
---|---|
pankso@1102 | 1 # SliTaz package receipt. |
pankso@1102 | 2 |
pankso@1102 | 3 PACKAGE="SDL_image" |
pankso@1102 | 4 VERSION="1.2.6" |
pankso@1102 | 5 CATEGORY="x-window" |
pankso@1102 | 6 SHORT_DESC="SDL image support." |
pankso@1102 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@1102 | 8 DEPENDS="xorg libSDL" |
pankso@1102 | 9 BUILD_DEPENDS="xorg-dev libSDL-dev" |
pankso@1102 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@1102 | 11 WEB_SITE="http://www.libsdl.org/projects/SDL_image/" |
pankso@1102 | 12 WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL" |
pankso@1102 | 13 |
pankso@1102 | 14 # Rules to configure and make the package. |
pankso@1102 | 15 compile_rules() |
pankso@1102 | 16 { |
pankso@1102 | 17 cd $src |
pankso@1102 | 18 ./configure --prefix=/usr $CONFIGURE_ARGS |
pankso@1102 | 19 make |
pankso@1102 | 20 make DESTDIR=$PWD/_pkg install |
pankso@1102 | 21 } |
pankso@1102 | 22 |
pankso@1102 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1102 | 24 genpkg_rules() |
pankso@1102 | 25 { |
pankso@1102 | 26 mkdir -p $fs/usr/lib |
pankso@1102 | 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@1102 | 28 } |