wok-next annotate libmng/receipt @ rev 20663
Fix web site for the Shimmer Project themes
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 10 22:58:32 2018 +0300 (2018-05-10) |
parents | 9b83ae3e9ce7 |
children | 63ae365eb07d |
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@19693 | 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@19693 | 10 |
al@19693 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
allan316@4547 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
allan316@4547 | 13 |
al@19693 | 14 BUILD_DEPENDS="zlib-dev libjpeg-turbo-dev lcms2-dev" |
al@19796 | 15 SPLIT="libmng-dev" |
pascal@15327 | 16 |
al@20577 | 17 compile_rules() { |
allan316@4547 | 18 ./configure \ |
al@19693 | 19 --disable-static \ |
allan316@4547 | 20 $CONFIGURE_ARGS && |
al@20577 | 21 fix libtool && |
al@20577 | 22 make && |
al@20577 | 23 make install || return 1 |
al@19693 | 24 |
al@20577 | 25 cook_pick_docs doc/libmng.txt |
allan316@4547 | 26 } |
allan316@4547 | 27 |
al@20577 | 28 genpkg_rules() { |
al@19796 | 29 case $PACKAGE in |
al@19796 | 30 libmng) copy @std; DEPENDS="lcms2 libjpeg-turbo zlib";; |
al@19796 | 31 *-dev) copy @dev; DEPENDS="libmng lcms2-dev libjpeg-turbo-dev zlib-dev";; |
al@19796 | 32 esac |
allan316@4547 | 33 } |