wok-next annotate libsdl-image/receipt @ rev 14882
python-socketpool, python-restkit, python-http-parser, python-couchdbkit: we need a meaningfull TARBALL to store sources on mirror
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 24 15:51:20 2013 +0000 (2013-07-24) |
parents | b7319995b37e |
children | 4cd474907d60 |
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@14718 | 9 LICENSE="LGPL2.1" |
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" |
pankso@9890 | 13 |
slaxemulator@6271 | 14 DEPENDS="libsdl libpng jpeg zlib tiff" |
pankso@9891 | 15 BUILD_DEPENDS="libsdl-dev libpng-dev jpeg-dev zlib-dev tiff-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 |
gokhlayeh@11573 | 21 ./configure $CONFIGURE_ARGS \ |
pankso@9890 | 22 LIBS=" -lz " && |
pankso@9890 | 23 make && make install |
pascal@1136 | 24 } |
pascal@1136 | 25 |
pascal@1136 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1136 | 27 genpkg_rules() |
pascal@1136 | 28 { |
pascal@1136 | 29 mkdir -p $fs/usr/lib |
pascal@14718 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@1136 | 31 } |