wok-stable annotate libsdl-image/receipt @ rev 11739
gdk-pixbuf: Fic chache creation (so SVG icons works)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 22 00:25:05 2012 +0100 (2012-02-22) |
parents | 735e7c699d90 |
children |
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" |
pankso@9890 | 12 |
slaxemulator@6271 | 13 DEPENDS="libsdl libpng jpeg zlib tiff" |
pankso@9891 | 14 BUILD_DEPENDS="libsdl-dev libpng-dev jpeg-dev zlib-dev tiff-dev" |
pascal@1136 | 15 |
pascal@1136 | 16 # Rules to configure and make the package. |
pascal@1136 | 17 compile_rules() |
pascal@1136 | 18 { |
pascal@1136 | 19 cd $src |
gokhlayeh@11573 | 20 ./configure $CONFIGURE_ARGS \ |
pankso@9890 | 21 LIBS=" -lz " && |
pankso@9890 | 22 make && make install |
pascal@1136 | 23 } |
pascal@1136 | 24 |
pascal@1136 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1136 | 26 genpkg_rules() |
pascal@1136 | 27 { |
pascal@1136 | 28 mkdir -p $fs/usr/lib |
pascal@1136 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@1136 | 30 } |