wok-current view libmng/receipt @ rev 19290
doxygen, eboard, giblib, gtkhotkey, gtkperf, gvolwheel, haproxy: fix man or doc path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 06 10:06:06 2016 +0200 (2016-07-06) |
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 }