# HG changeset patch # User Allan Pinto # Date 1259946049 0 # Node ID 22bca7d1771c42659676177df31ab95169ce3b9a # Parent 1348f91a1c62b00709dd59313dbdc999e98d0c88 add : libmng diff -r 1348f91a1c62 -r 22bca7d1771c libmng/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libmng/receipt Fri Dec 04 17:00:49 2009 +0000 @@ -0,0 +1,36 @@ +# SliTaz package receipt. + +PACKAGE="libmng" +VERSION="1.0.9" +CATEGORY="development" +SHORT_DESC="library for multi network graphics" +MAINTAINER="allan316@gmail.com" +DEPENDS="lcms jpeg" +BUILD_DEPENDS="autoconf automake lcms-dev jpeg-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://libmng.sourceforge.net" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ln -sf makefiles/configure.in . && + ln -sf makefiles/Makefile.am . && + autoreconf -f -i && + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib + strip -s $_pkg/usr/lib/* +} +