wok view libmng/receipt @ rev 18302

Up: firefox-official (40.0.2)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Aug 20 14:45:02 2015 +0200 (2015-08-20)
parents 8f447cf2eee5
children 65d7d867e0c1
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 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://libmng.sourceforge.net"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="lcms jpeg zlib"
14 BUILD_DEPENDS="autoconf automake lcms-dev jpeg-dev libtool"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's/ [^ ]*ansi2knr//' makefiles/configure.in makefiles/Makefile.am
21 sed -i 's/AM_C_PROTOTYPES/# &/' makefiles/configure.in
22 ln -sf makefiles/configure.in . &&
23 ln -sf makefiles/Makefile.am . &&
24 autoreconf -f -i &&
25 ./configure \
26 --prefix=/usr \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make && make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }