wok annotate libmng/receipt @ rev 24212
updated perl-file-slurp (9999.30 -> 9999.32)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 16:13:01 2021 +0100 (2021-12-31) |
parents | 8f447cf2eee5 |
children | 65d7d867e0c1 |
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" |
pascal@15473 | 8 LICENSE="BSD" |
allan316@4547 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@4547 | 10 WEB_SITE="http://libmng.sourceforge.net" |
allan316@4547 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
allan316@4547 | 12 |
pascal@15327 | 13 DEPENDS="lcms jpeg zlib" |
pascal@15647 | 14 BUILD_DEPENDS="autoconf automake lcms-dev jpeg-dev libtool" |
pascal@15327 | 15 |
allan316@4547 | 16 # Rules to configure and make the package. |
allan316@4547 | 17 compile_rules() |
allan316@4547 | 18 { |
allan316@4547 | 19 cd $src |
pascal@15327 | 20 sed -i 's/ [^ ]*ansi2knr//' makefiles/configure.in makefiles/Makefile.am |
pascal@15327 | 21 sed -i 's/AM_C_PROTOTYPES/# &/' makefiles/configure.in |
allan316@4547 | 22 ln -sf makefiles/configure.in . && |
allan316@4547 | 23 ln -sf makefiles/Makefile.am . && |
allan316@4547 | 24 autoreconf -f -i && |
allan316@4547 | 25 ./configure \ |
allan316@4547 | 26 --prefix=/usr \ |
allan316@4547 | 27 --infodir=/usr/share/info \ |
allan316@4547 | 28 --mandir=/usr/share/man \ |
allan316@4547 | 29 $CONFIGURE_ARGS && |
pascal@15327 | 30 make && make DESTDIR=$DESTDIR install |
allan316@4547 | 31 } |
allan316@4547 | 32 |
allan316@4547 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@4547 | 34 genpkg_rules() |
allan316@4547 | 35 { |
allan316@4547 | 36 mkdir -p $fs/usr/lib |
pascal@15327 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
allan316@4547 | 38 } |
allan316@4547 | 39 |