wok-current view libmng/receipt @ rev 15534
Up: libfirefox (17.0.11esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Nov 24 17:36:10 2013 +0100 (2013-11-24) |
parents | 5c5aba03d16d |
children | 7b41ff9ba5dd |
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"
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 }