wok-4.x diff freeimage/receipt @ rev 4292

gnupg: add /usr/bin/gpg link (typo)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 26 17:55:25 2009 +0200 (2009-09-26)
parents
children 9f19aee613be
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/freeimage/receipt	Sat Sep 26 17:55:25 2009 +0200
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="freeimage"
     1.7 +VERSION="3110"
     1.8 +CATEGORY="graphics"
     1.9 +SHORT_DESC="library to support popular graphics image formats like PNG, BMP, JPEG, TIFF and others"
    1.10 +MAINTAINER="jozee@slitaz.org"
    1.11 +DEPENDS=""
    1.12 +BUILD_DEPENDS="gcc-lib-base"
    1.13 +SOURCE="FreeImage"
    1.14 +TARBALL="$SOURCE$VERSION.zip"
    1.15 +WEB_SITE="http://freeimage.sourceforge.net/" 
    1.16 +WGET_URL="http://downloads.sourceforge.net/$PACKAGE/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $SOURCE
    1.22 +	pkgdir=$PWD/_pkg
    1.23 +	incl=$pkgdir/usr/include
    1.24 +    dest=$pkgdir/usr/lib
    1.25 +	install -d $dest
    1.26 +	install -d $incl
    1.27 +	sed -e "s|INCDIR = /usr/include|INCDIR = $incl|g" -i Makefile.gnu 
    1.28 +	sed -e "s|INSTALLDIR = /usr/lib|INSTALLDIR = $dest|g" -i Makefile.gnu  
    1.29 +	sed -e "s|ldconfig||g" -i Makefile.gnu  
    1.30 +	make
    1.31 +	make DESTDIR=$pkgdir 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 +	pkgdir=$PWD/$SOURCE/_pkg
    1.39 +	cp -a $pkgdir/usr/lib/*.so* $fs/usr/lib
    1.40 +
    1.41 +}