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

squashfs: add lzma support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 03 18:38:54 2010 +0100 (2010-01-03)
parents 22bca7d1771c
children 8752c40cc534
line source
1 # SliTaz package receipt.
3 PACKAGE="libmng"
4 VERSION="1.0.9"
5 CATEGORY="development"
6 SHORT_DESC="library for multi network graphics"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="lcms jpeg"
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 }