wok-next 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 | a29576db3266 |
children | 431a7ea3fd92 |
files | libmng-dev/receipt libmng/receipt |
line diff
1.1 --- a/libmng-dev/receipt Fri Sep 27 23:37:45 2013 +0000 1.2 +++ b/libmng-dev/receipt Sat Sep 28 09:30:43 2013 +0000 1.3 @@ -5,15 +5,16 @@ 1.4 CATEGORY="development" 1.5 SHORT_DESC="dev file for libmng" 1.6 MAINTAINER="allan316@gmail.com" 1.7 -DEPENDS="libmng lcms-dev jpeg-dev zlib-dev" 1.8 WEB_SITE="http://libmng.sourceforge.net" 1.9 WANTED="libmng" 1.10 1.11 +DEPENDS="libmng lcms-dev jpeg-dev zlib-dev" 1.12 + 1.13 # Rules to gen a SliTaz package suitable for Tazpkg. 1.14 genpkg_rules() 1.15 { 1.16 mkdir -p $fs/usr/lib 1.17 - cp -a $_pkg/usr/include $fs/usr 1.18 - cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.19 + cp -a $install/usr/include $fs/usr 1.20 + cp -a $install/usr/lib/*.*a $fs/usr/lib 1.21 } 1.22
2.1 --- a/libmng/receipt Fri Sep 27 23:37:45 2013 +0000 2.2 +++ b/libmng/receipt Sat Sep 28 09:30:43 2013 +0000 2.3 @@ -5,16 +5,19 @@ 2.4 CATEGORY="development" 2.5 SHORT_DESC="library for multi network graphics" 2.6 MAINTAINER="allan316@gmail.com" 2.7 -DEPENDS="lcms jpeg zlib" 2.8 -BUILD_DEPENDS="autoconf automake lcms-dev jpeg-dev" 2.9 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.10 WEB_SITE="http://libmng.sourceforge.net" 2.11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 2.12 2.13 +DEPENDS="lcms jpeg zlib" 2.14 +BUILD_DEPENDS="autoconf automake lcms-dev jpeg-dev" 2.15 + 2.16 # Rules to configure and make the package. 2.17 compile_rules() 2.18 { 2.19 cd $src 2.20 + sed -i 's/ [^ ]*ansi2knr//' makefiles/configure.in makefiles/Makefile.am 2.21 + sed -i 's/AM_C_PROTOTYPES/# &/' makefiles/configure.in 2.22 ln -sf makefiles/configure.in . && 2.23 ln -sf makefiles/Makefile.am . && 2.24 autoreconf -f -i && 2.25 @@ -23,13 +26,13 @@ 2.26 --infodir=/usr/share/info \ 2.27 --mandir=/usr/share/man \ 2.28 $CONFIGURE_ARGS && 2.29 - make && make DESTDIR=$PWD/_pkg install 2.30 + make && make DESTDIR=$DESTDIR install 2.31 } 2.32 2.33 # Rules to gen a SliTaz package suitable for Tazpkg. 2.34 genpkg_rules() 2.35 { 2.36 mkdir -p $fs/usr/lib 2.37 - cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.38 + cp -a $install/usr/lib/*.so* $fs/usr/lib 2.39 } 2.40