wok-next view libmng/receipt @ rev 19769
Update Perl XS modules that need perl-dev to build (unlike Pure Perl), rebuild all module packages as Perl version change.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 14 09:51:23 2017 +0300 (2017-06-14) |
parents | 7b41ff9ba5dd |
children | f463de72afe3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libmng"
4 VERSION="2.0.3"
5 CATEGORY="graphics"
6 SHORT_DESC="Multiple-image Network Graphics (MNG) Reference Library"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="zlib/libpng"
9 WEB_SITE="http://libmng.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="lcms2 libjpeg-turbo zlib"
15 BUILD_DEPENDS="zlib-dev libjpeg-turbo-dev lcms2-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --disable-static \
22 $CONFIGURE_ARGS &&
23 make && make install &&
25 docdir=$install/usr/share/doc/libmng-$VERSION &&
26 install -v -m755 -d $docdir &&
27 install -v -m644 doc/libmng.txt $docdir
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cook_copy_files *.so*
34 }