wok-next annotate libmng/receipt @ rev 20567

xfe: update receipt; qt5: undo `fix math`
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 11 01:07:35 2018 +0300 (2018-04-11)
parents f463de72afe3
children 25deb7c6df08
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
allan316@4547 17 # Rules to configure and make the package.
allan316@4547 18 compile_rules()
allan316@4547 19 {
allan316@4547 20 ./configure \
al@19693 21 --disable-static \
allan316@4547 22 $CONFIGURE_ARGS &&
al@19693 23 make && make install &&
al@19693 24
al@19693 25 docdir=$install/usr/share/doc/libmng-$VERSION &&
al@19693 26 install -v -m755 -d $docdir &&
al@19693 27 install -v -m644 doc/libmng.txt $docdir
allan316@4547 28 }
allan316@4547 29
allan316@4547 30 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@4547 31 genpkg_rules()
allan316@4547 32 {
al@19796 33 case $PACKAGE in
al@19796 34 libmng) copy @std; DEPENDS="lcms2 libjpeg-turbo zlib";;
al@19796 35 *-dev) copy @dev; DEPENDS="libmng lcms2-dev libjpeg-turbo-dev zlib-dev";;
al@19796 36 esac
allan316@4547 37 }