wok annotate libsdl-image/receipt @ rev 9821
ruby: when a space can change a build...
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 15 02:34:55 2011 +0200 (2011-05-15) |
parents | 87e0b29a6071 |
children | aeefda51e196 |
rev | line source |
---|---|
pascal@1136 | 1 # SliTaz package receipt. |
pascal@1136 | 2 |
pascal@1136 | 3 PACKAGE="libsdl-image" |
pascal@1136 | 4 SOURCE="SDL_image" |
slaxemulator@6197 | 5 VERSION="1.2.10" |
pascal@1136 | 6 CATEGORY="development" |
pascal@1136 | 7 SHORT_DESC="An image file loading library." |
pascal@1136 | 8 MAINTAINER="chadi.elahmad@gmail.com" |
pascal@1136 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1136 | 10 WEB_SITE="http://www.libsdl.org/projects/SDL_image/" |
pascal@1136 | 11 WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL" |
slaxemulator@6271 | 12 DEPENDS="libsdl libpng jpeg zlib tiff" |
pascal@1136 | 13 |
pascal@1136 | 14 # Rules to configure and make the package. |
pascal@1136 | 15 compile_rules() |
pascal@1136 | 16 { |
pascal@1136 | 17 cd $src |
pascal@1136 | 18 ./configure \ |
pascal@1136 | 19 --prefix=/usr \ |
pascal@1136 | 20 --mandir=/usr/share/man \ |
pascal@1136 | 21 --infodir=/usr/share/info \ |
pascal@1136 | 22 LIBS=" -lz " \ |
pascal@2476 | 23 $CONFIGURE_ARGS && |
pascal@2476 | 24 make && |
pascal@1136 | 25 make DESTDIR=$PWD/_pkg install |
pascal@1136 | 26 } |
pascal@1136 | 27 |
pascal@1136 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1136 | 29 genpkg_rules() |
pascal@1136 | 30 { |
pascal@1136 | 31 mkdir -p $fs/usr/lib |
pascal@1136 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@1136 | 33 } |