wok-stable rev 4547

add : libmng
author Allan Pinto <allan316@gmail.com>
date Fri Dec 04 17:00:49 2009 +0000 (2009-12-04)
parents 1348f91a1c62
children ff265488d503
files libmng/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libmng/receipt	Fri Dec 04 17:00:49 2009 +0000
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libmng"
     1.7 +VERSION="1.0.9"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="library for multi network graphics"
    1.10 +MAINTAINER="allan316@gmail.com"
    1.11 +DEPENDS="lcms jpeg"
    1.12 +BUILD_DEPENDS="autoconf automake lcms-dev jpeg-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://libmng.sourceforge.net"
    1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	ln -sf makefiles/configure.in . &&
    1.22 +	ln -sf makefiles/Makefile.am . &&
    1.23 +	autoreconf -f -i &&
    1.24 +	./configure \
    1.25 +		--prefix=/usr \
    1.26 +		--infodir=/usr/share/info \
    1.27 +		--mandir=/usr/share/man \
    1.28 +		$CONFIGURE_ARGS &&
    1.29 +	make && make DESTDIR=$PWD/_pkg install
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	mkdir -p $fs/usr/lib
    1.36 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.37 +	strip -s $_pkg/usr/lib/*
    1.38 +}
    1.39 +