wok-next annotate libmng/receipt @ rev 20778
git update: 2.16.2 (Feb-2018) -> 2.17.1 (May-2018)
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Fri Jun 08 09:36:49 2018 +0000 (2018-06-08) |
parents | 25deb7c6df08 |
children | f48456621a9d |
rev | line source |
---|---|
al@19796 | 1 # SliTaz package receipt v2. |
allan316@4547 | 2 |
allan316@4547 | 3 PACKAGE="libmng" |
al@19693 | 4 VERSION="2.0.3" |
al@19693 | 5 CATEGORY="graphics" |
al@20675 | 6 SHORT_DESC="Multiple-image Network Graphics (MNG) reference library" |
allan316@4547 | 7 MAINTAINER="allan316@gmail.com" |
al@19693 | 8 LICENSE="zlib/libpng" |
al@19693 | 9 WEB_SITE="http://libmng.com/" |
al@20675 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libmng.html" |
al@19693 | 11 |
al@19693 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
allan316@4547 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
allan316@4547 | 14 |
al@19693 | 15 BUILD_DEPENDS="zlib-dev libjpeg-turbo-dev lcms2-dev" |
al@19796 | 16 SPLIT="libmng-dev" |
pascal@15327 | 17 |
al@20577 | 18 compile_rules() { |
allan316@4547 | 19 ./configure \ |
al@19693 | 20 --disable-static \ |
allan316@4547 | 21 $CONFIGURE_ARGS && |
al@20577 | 22 fix libtool && |
al@20577 | 23 make && |
al@20577 | 24 make install || return 1 |
al@19693 | 25 |
al@20675 | 26 cook_pick_docs doc/libmng.txt doc/*.png $stuff/index.html |
allan316@4547 | 27 } |
allan316@4547 | 28 |
al@20577 | 29 genpkg_rules() { |
al@19796 | 30 case $PACKAGE in |
al@19796 | 31 libmng) copy @std; DEPENDS="lcms2 libjpeg-turbo zlib";; |
al@19796 | 32 *-dev) copy @dev; DEPENDS="libmng lcms2-dev libjpeg-turbo-dev zlib-dev";; |
al@19796 | 33 esac |
allan316@4547 | 34 } |