wok annotate libmng/receipt @ rev 15327
libmng: remove automake depricated automatic de-ANSI-fication support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 28 09:30:43 2013 +0000 (2013-09-28) |
parents | e5ae411e1d8c |
children | 8f447cf2eee5 |
rev | line source |
---|---|
allan316@4547 | 1 # SliTaz package receipt. |
allan316@4547 | 2 |
allan316@4547 | 3 PACKAGE="libmng" |
erjo@5929 | 4 VERSION="1.0.10" |
allan316@4547 | 5 CATEGORY="development" |
allan316@4547 | 6 SHORT_DESC="library for multi network graphics" |
allan316@4547 | 7 MAINTAINER="allan316@gmail.com" |
allan316@4547 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@4547 | 9 WEB_SITE="http://libmng.sourceforge.net" |
allan316@4547 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
allan316@4547 | 11 |
pascal@15327 | 12 DEPENDS="lcms jpeg zlib" |
pascal@15327 | 13 BUILD_DEPENDS="autoconf automake lcms-dev jpeg-dev" |
pascal@15327 | 14 |
allan316@4547 | 15 # Rules to configure and make the package. |
allan316@4547 | 16 compile_rules() |
allan316@4547 | 17 { |
allan316@4547 | 18 cd $src |
pascal@15327 | 19 sed -i 's/ [^ ]*ansi2knr//' makefiles/configure.in makefiles/Makefile.am |
pascal@15327 | 20 sed -i 's/AM_C_PROTOTYPES/# &/' makefiles/configure.in |
allan316@4547 | 21 ln -sf makefiles/configure.in . && |
allan316@4547 | 22 ln -sf makefiles/Makefile.am . && |
allan316@4547 | 23 autoreconf -f -i && |
allan316@4547 | 24 ./configure \ |
allan316@4547 | 25 --prefix=/usr \ |
allan316@4547 | 26 --infodir=/usr/share/info \ |
allan316@4547 | 27 --mandir=/usr/share/man \ |
allan316@4547 | 28 $CONFIGURE_ARGS && |
pascal@15327 | 29 make && make DESTDIR=$DESTDIR install |
allan316@4547 | 30 } |
allan316@4547 | 31 |
allan316@4547 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@4547 | 33 genpkg_rules() |
allan316@4547 | 34 { |
allan316@4547 | 35 mkdir -p $fs/usr/lib |
pascal@15327 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
allan316@4547 | 37 } |
allan316@4547 | 38 |