wok diff freeimage/receipt @ rev 3003
Removed unusable tiny xorg-server-{Xati,Xi810,Xnvidia} + old i810 driver
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 11 22:11:45 2009 +0200 (2009-05-11) |
parents | |
children | 9f19aee613be |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/freeimage/receipt Mon May 11 22:11:45 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 +}