wok-6.x annotate SDL_image/receipt @ rev 1182
Add nbs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 03 06:51:20 2008 +0000 (2008-08-03) |
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 } |