wok-next annotate libmng/receipt @ rev 21143
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 25 15:37:19 2019 +0200 (2019-01-25) |
parents | d5aab818505e |
children |
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@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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@21020 | 16 SPLIT="$PACKAGE-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@21143 | 31 libmng) copy @std; DEPENDS="liblcms2 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 } |