wok view libmng/receipt @ rev 9027

httpfs-fuse: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 03 22:10:39 2011 +0100 (2011-03-03)
parents 8752c40cc534
children e5ae411e1d8c
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 strip -s $fs/usr/lib/*
35 }