wok-current annotate libmng/receipt @ rev 4823
Up: mpd (0.15.8)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Wed Jan 20 20:19:04 2010 +0000 (2010-01-20) |
parents | 22bca7d1771c |
children | 8752c40cc534 |
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@4550 | 34 strip -s $fs/usr/lib/* |
allan316@4547 | 35 } |
allan316@4547 | 36 |