wok-next view libpng/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libpng"
4 VERSION="1.6.36"
5 CATEGORY="libs"
6 SHORT_DESC="PNG images library 1.6 series 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 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libpng.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/libpng/$TARBALL"
14 TARBALL_SHA1="aec9548c8319104226cc4c31d1f5e524f1b55295"
16 BUILD_DEPENDS="zlib-dev"
17 SPLIT="$PACKAGE-dev"
19 DEPENDS_std="zlib"
20 DEPENDS_dev="$PACKAGE zlib-dev"
22 compile_rules() {
23 # don't use --disable-static: optipng-static require such lib
25 LIBS=-lpthread \
26 ./configure \
27 $CONFIGURE_ARGS &&
28 fix libtool &&
29 make &&
30 make install || return 1
32 cook_pick_docs README libpng-manual.txt
34 # Misc png tools
35 cd contrib/pngminus
36 make PNGLIB="-L$install/usr/lib -lpng" -f makefile.std png2pnm pnm2png
37 cp -a png2pnm pnm2png $install/usr/bin
38 }
40 PROVIDE_std="libpng16"
41 PROVIDE_dev="libpng16-dev"