wok annotate libmng/receipt @ rev 4547
add : libmng
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Fri Dec 04 17:00:49 2009 +0000 (2009-12-04) |
parents | |
children | 735d455abb3e |
rev | line source |
---|---|
allan316@4547 | 1 # SliTaz package receipt. |
allan316@4547 | 2 |
allan316@4547 | 3 PACKAGE="libmng" |
allan316@4547 | 4 VERSION="1.0.9" |
allan316@4547 | 5 CATEGORY="development" |
allan316@4547 | 6 SHORT_DESC="library for multi network graphics" |
allan316@4547 | 7 MAINTAINER="allan316@gmail.com" |
allan316@4547 | 8 DEPENDS="lcms jpeg" |
allan316@4547 | 9 BUILD_DEPENDS="autoconf automake lcms-dev jpeg-dev" |
allan316@4547 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@4547 | 11 WEB_SITE="http://libmng.sourceforge.net" |
allan316@4547 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
allan316@4547 | 13 |
allan316@4547 | 14 # Rules to configure and make the package. |
allan316@4547 | 15 compile_rules() |
allan316@4547 | 16 { |
allan316@4547 | 17 cd $src |
allan316@4547 | 18 ln -sf makefiles/configure.in . && |
allan316@4547 | 19 ln -sf makefiles/Makefile.am . && |
allan316@4547 | 20 autoreconf -f -i && |
allan316@4547 | 21 ./configure \ |
allan316@4547 | 22 --prefix=/usr \ |
allan316@4547 | 23 --infodir=/usr/share/info \ |
allan316@4547 | 24 --mandir=/usr/share/man \ |
allan316@4547 | 25 $CONFIGURE_ARGS && |
allan316@4547 | 26 make && make DESTDIR=$PWD/_pkg install |
allan316@4547 | 27 } |
allan316@4547 | 28 |
allan316@4547 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@4547 | 30 genpkg_rules() |
allan316@4547 | 31 { |
allan316@4547 | 32 mkdir -p $fs/usr/lib |
allan316@4547 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
allan316@4547 | 34 strip -s $_pkg/usr/lib/* |
allan316@4547 | 35 } |
allan316@4547 | 36 |