wok-current annotate libsdl-image/receipt @ rev 3739
add cclcfox
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Thu Jul 23 11:23:20 2009 +0000 (2009-07-23) |
parents | a7b619564b2b |
children | b69d57bf0722 |
rev | line source |
---|---|
pascal@1136 | 1 # SliTaz package receipt. |
pascal@1136 | 2 |
pascal@1136 | 3 PACKAGE="libsdl-image" |
pascal@1136 | 4 SOURCE="SDL_image" |
pascal@1136 | 5 VERSION="1.2.6" |
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 |
pascal@1136 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1136 | 11 WEB_SITE="http://www.libsdl.org/projects/SDL_image/" |
pascal@1136 | 12 WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL" |
pascal@1136 | 13 |
pankso@3425 | 14 DEPENDS="libsdl libpng jpeg zlib" |
pankso@3425 | 15 BUILD_DEPENDS="libsdl libsdl-dev libpng-dev jpeg-dev tiff-dev zlib-dev" |
pascal@1136 | 16 |
pascal@1136 | 17 # Rules to configure and make the package. |
pascal@1136 | 18 compile_rules() |
pascal@1136 | 19 { |
pascal@1136 | 20 cd $src |
pascal@1136 | 21 ./configure \ |
pascal@1136 | 22 --prefix=/usr \ |
pascal@1136 | 23 --mandir=/usr/share/man \ |
pascal@1136 | 24 --infodir=/usr/share/info \ |
pascal@1136 | 25 LIBS=" -lz " \ |
pascal@2476 | 26 $CONFIGURE_ARGS && |
pascal@2476 | 27 make && |
pascal@1136 | 28 make DESTDIR=$PWD/_pkg install |
pascal@1136 | 29 } |
pascal@1136 | 30 |
pascal@1136 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1136 | 32 genpkg_rules() |
pascal@1136 | 33 { |
pascal@1136 | 34 mkdir -p $fs/usr/lib |
pascal@1136 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@1136 | 36 } |