wok annotate libsdl-image/receipt @ rev 10499

ecore: up to fix e17 build (1.0.1)
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 25 14:01:24 2011 +0200 (2011-05-25)
parents aeefda51e196
children b7319995b37e
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
pascal@1136 20 ./configure \
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 }