wok-next view libmng/receipt @ rev 11720
Back to 23.3. Broken build on BB, although it's ok in my chrooted env
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Mon Feb 20 17:53:47 2012 +0100 (2012-02-20) |
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 }