wok-6.x annotate libpng+apng/receipt @ rev 15976

Up connman-tools (1.21)
author Dominique Corbex <domcox@slitaz.org>
date Fri Feb 28 21:53:25 2014 +0100 (2014-02-28)
parents 1ce2e857978b
children d1139a9dbf88
rev   line source
al@14737 1 # SliTaz package receipt.
al@14737 2
al@14737 3 PACKAGE="libpng+apng"
al@14737 4 PROVIDE="libpng"
al@14737 5 SOURCE="libpng"
al@14737 6 VERSION="1.6.2"
al@14737 7 SERIES="libpng16"
al@14737 8 CATEGORY="x-window"
al@14737 9 SHORT_DESC="Loads and saves PNG files (with APNG support)"
al@14737 10 MAINTAINER="al.bobylev@gmail.com"
al@14737 11 LICENSE="zlib/libpng"
al@14737 12 WEB_SITE="http://www.libpng.org/pub/png/libpng.html"
al@14737 13 TARBALL="$SOURCE-$VERSION.tar.xz"
al@14737 14 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
al@14737 15
al@14737 16 PATCH="$SOURCE-$VERSION-apng.patch.gz"
al@14737 17 PATCH_URL="$SF_MIRROR/apng/$SOURCE/$SERIES/$PATCH"
al@14737 18
al@14737 19 DEPENDS="zlib"
al@14737 20 BUILD_DEPENDS="gawk zlib-dev"
al@14737 21
al@14737 22 # Rules to configure and make the package.
al@14737 23 compile_rules()
al@14737 24 {
al@14737 25 [ -s "$SRC/$PATCH" ] || wget -O "$SRC/$PATCH" $PATCH_URL
al@14737 26 gzip -cd $SRC/$PATCH | patch -p0
al@14737 27 ./configure \
al@14737 28 --prefix=/usr \
al@14737 29 --disable-static \
al@14737 30 $CONFIGURE_ARGS &&
al@14737 31 make &&
pascal@14738 32 make check | tr [A-Z] [a-z] &&
al@14737 33 make DESTDIR=$DESTDIR install
al@14737 34 }
al@14737 35
al@14737 36 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14737 37 genpkg_rules()
al@14737 38 {
al@14737 39 mkdir -p $fs/usr/lib
al@14737 40 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@14737 41 }