wok-next view libmng/receipt @ rev 20567
xfe: update receipt; qt5: undo `fix math`
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Apr 11 01:07:35 2018 +0300 (2018-04-11) |
parents | f463de72afe3 |
children | 25deb7c6df08 |
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="zlib-dev libjpeg-turbo-dev lcms2-dev"
15 SPLIT="libmng-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 case $PACKAGE in
34 libmng) copy @std; DEPENDS="lcms2 libjpeg-turbo zlib";;
35 *-dev) copy @dev; DEPENDS="libmng lcms2-dev libjpeg-turbo-dev zlib-dev";;
36 esac
37 }