wok-6.x diff libsdl-image/receipt @ rev 1505

glibmm: auto rebuild splitted packages
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 05 16:17:33 2008 +0000 (2008-10-05)
parents
children 59228667f806
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libsdl-image/receipt	Sun Oct 05 16:17:33 2008 +0000
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libsdl-image"
     1.7 +SOURCE="SDL_image"
     1.8 +VERSION="1.2.6"
     1.9 +CATEGORY="development"
    1.10 +SHORT_DESC="An image file loading library."
    1.11 +MAINTAINER="chadi.elahmad@gmail.com"
    1.12 +
    1.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://www.libsdl.org/projects/SDL_image/"
    1.15 +WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL"
    1.16 +
    1.17 +DEPENDS="libSDL libpng jpeg zlib "
    1.18 +BUILD_DEPENDS="libSDL libSDL-dev libpng-dev jpeg-dev tiff-dev zlib-dev "
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	cd $src
    1.24 +	./configure \
    1.25 +		--prefix=/usr \
    1.26 +		--mandir=/usr/share/man \
    1.27 +		--infodir=/usr/share/info \
    1.28 +		LIBS=" -lz " \
    1.29 +		$CONFIGURE_ARGS
    1.30 +	make
    1.31 +	make DESTDIR=$PWD/_pkg install
    1.32 +}
    1.33 +
    1.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 +genpkg_rules()
    1.36 +{
    1.37 +	mkdir -p $fs/usr/lib
    1.38 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.39 +}
    1.40 +