wok-6.x view libmng/receipt @ rev 9776

vanessa_logger: fix genpkg_rules for cookutils
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 11 22:44:41 2011 +0200 (2011-05-11)
parents 74ffc517dae9
children 5c5aba03d16d
line source
1 # SliTaz package receipt.
3 PACKAGE="libmng"
4 VERSION="1.0.10"
5 CATEGORY="development"
6 SHORT_DESC="library for multi network graphics"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="lcms jpeg zlib"
9 BUILD_DEPENDS="autoconf automake lcms-dev jpeg-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://libmng.sourceforge.net"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ln -sf makefiles/configure.in . &&
19 ln -sf makefiles/Makefile.am . &&
20 autoreconf -f -i &&
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 }