wok-next view libmng/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 63ae365eb07d
children d5aab818505e
line source
1 # SliTaz package receipt v2.
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/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libmng.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="zlib-dev libjpeg-turbo-dev lcms2-dev"
16 SPLIT="libmng-dev"
18 compile_rules() {
19 ./configure \
20 --disable-static \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install || return 1
26 cook_pick_docs doc/libmng.txt doc/*.png $stuff/index.html
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 libmng) copy @std; DEPENDS="lcms2 libjpeg-turbo zlib";;
32 *-dev) copy @dev; DEPENDS="libmng lcms2-dev libjpeg-turbo-dev zlib-dev";;
33 esac
34 }