wok-next view libpng/receipt @ rev 19645
Remove mesa-dri-ati, mesa-dri-intel, mesa-dri-nouveau, mesa-dri-vmwgfx -> mesa-dri. Split llvm. Up/add xorg apps and some other stuff.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 22 03:43:01 2017 +0200 (2017-02-22) |
parents | 18b7cffacced |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libpng"
4 VERSION="1.6.28"
5 CATEGORY="libs"
6 SHORT_DESC="PNG images library (with APNG support)"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="zlib/libpng"
9 WEB_SITE="http://www.libpng.org/pub/png/libpng.html"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/libpng/$TARBALL"
15 PATCH="$PACKAGE-$VERSION-apng.patch.gz"
16 PATCH_URL="$SF_MIRROR/apng/$PATCH"
18 DEPENDS="zlib"
19 BUILD_DEPENDS="gawk zlib-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 [ -s "$SRC/$PATCH" ] || wget -O "$SRC/$PATCH" $PATCH_URL
25 gzip -cd $SRC/$PATCH | patch -p0
27 ./configure \
28 --disable-static \
29 $CONFIGURE_ARGS &&
30 make && make install
32 # Misc png tools
33 cd contrib/pngminus
34 make PNGLIB="-L$DESTDIR/usr/lib -lpng" -f makefile.std png2pnm pnm2png
35 cp -a png2pnm pnm2png $DESTDIR/usr/bin
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_files png2pnm pnm2png pngfix png-fix-itxt *.so*
42 }