wok view libmng/receipt @ rev 15374

Up apache-mod-perl (2.0.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 17 18:09:17 2013 +0000 (2013-10-17)
parents e5ae411e1d8c
children 8f447cf2eee5
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://libmng.sourceforge.net"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="lcms jpeg zlib"
13 BUILD_DEPENDS="autoconf automake lcms-dev jpeg-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's/ [^ ]*ansi2knr//' makefiles/configure.in makefiles/Makefile.am
20 sed -i 's/AM_C_PROTOTYPES/# &/' makefiles/configure.in
21 ln -sf makefiles/configure.in . &&
22 ln -sf makefiles/Makefile.am . &&
23 autoreconf -f -i &&
24 ./configure \
25 --prefix=/usr \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make && make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }