wok-next annotate 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 |
rev | line source |
---|---|
al@21072 | 1 # SliTaz package receipt v2. |
al@21072 | 2 |
al@21072 | 3 PACKAGE="libpng" |
al@21072 | 4 VERSION="1.6.36" |
al@21072 | 5 CATEGORY="libs" |
al@21072 | 6 SHORT_DESC="PNG images library 1.6 series with APNG support" |
al@21072 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@21072 | 8 LICENSE="zlib/libpng" |
al@21072 | 9 WEB_SITE="http://www.libpng.org/pub/png/libpng.html" |
al@21072 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libpng.html" |
al@21072 | 11 |
al@21072 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@21072 | 13 WGET_URL="$SF_MIRROR/libpng/$TARBALL" |
al@21072 | 14 TARBALL_SHA1="aec9548c8319104226cc4c31d1f5e524f1b55295" |
al@21072 | 15 |
al@21072 | 16 BUILD_DEPENDS="zlib-dev" |
al@21072 | 17 SPLIT="$PACKAGE-dev" |
al@21072 | 18 |
al@21072 | 19 DEPENDS_std="zlib" |
al@21072 | 20 DEPENDS_dev="$PACKAGE zlib-dev" |
al@21072 | 21 |
al@21072 | 22 compile_rules() { |
al@21072 | 23 # don't use --disable-static: optipng-static require such lib |
al@21072 | 24 |
al@21072 | 25 LIBS=-lpthread \ |
al@21072 | 26 ./configure \ |
al@21072 | 27 $CONFIGURE_ARGS && |
al@21072 | 28 fix libtool && |
al@21072 | 29 make && |
al@21072 | 30 make install || return 1 |
al@21072 | 31 |
al@21072 | 32 cook_pick_docs README libpng-manual.txt |
al@21072 | 33 |
al@21072 | 34 # Misc png tools |
al@21072 | 35 cd contrib/pngminus |
al@21072 | 36 make PNGLIB="-L$install/usr/lib -lpng" -f makefile.std png2pnm pnm2png |
al@21072 | 37 cp -a png2pnm pnm2png $install/usr/bin |
al@21072 | 38 } |
al@21072 | 39 |
al@21072 | 40 PROVIDE_std="libpng16" |
al@21072 | 41 PROVIDE_dev="libpng16-dev" |