wok-next annotate libmng/receipt @ rev 6536

merge
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Oct 06 00:40:17 2010 +0000 (2010-10-06)
parents 8752c40cc534
children e5ae411e1d8c
rev   line source
allan316@4547 1 # SliTaz package receipt.
allan316@4547 2
allan316@4547 3 PACKAGE="libmng"
erjo@5929 4 VERSION="1.0.10"
allan316@4547 5 CATEGORY="development"
allan316@4547 6 SHORT_DESC="library for multi network graphics"
allan316@4547 7 MAINTAINER="allan316@gmail.com"
pascal@5003 8 DEPENDS="lcms jpeg zlib"
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