wok-next view libmng/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 9b83ae3e9ce7 |
children | 63ae365eb07d |
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 compile_rules() {
18 ./configure \
19 --disable-static \
20 $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make install || return 1
25 cook_pick_docs doc/libmng.txt
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 libmng) copy @std; DEPENDS="lcms2 libjpeg-turbo zlib";;
31 *-dev) copy @dev; DEPENDS="libmng lcms2-dev libjpeg-turbo-dev zlib-dev";;
32 esac
33 }