wok-next view libmng/receipt @ rev 20139
Up cairo-dock-plugins (3.3.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 08:51:59 2017 +0100 (2017-11-01) |
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 }