2008-10-04 06:29:49 +02:00
|
|
|
# Template build file for 'libpng'.
|
|
|
|
pkgname=libpng
|
2013-09-13 08:36:26 +02:00
|
|
|
version=1.6.4
|
2013-07-19 08:34:31 +02:00
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-09-13 08:41:16 +02:00
|
|
|
configure_args="ac_cv_func_strtod=yes --disable-arm-neon"
|
2012-05-23 18:26:56 +02:00
|
|
|
makedepends="zlib-devel"
|
2008-10-02 19:01:17 +02:00
|
|
|
short_desc="Library for manipulating PNG images"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-07-07 19:07:30 +02:00
|
|
|
homepage="http://www.libpng.org/pub/png/libpng.html"
|
|
|
|
license="zlib"
|
2013-04-30 10:22:12 +02:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.xz"
|
2013-09-13 08:36:26 +02:00
|
|
|
checksum=cfab4fcc1bae75dba5852b4014f1ae3d1ca0564b97208bbbfa50e041bc55f896
|
2009-03-25 07:28:22 +01:00
|
|
|
|
2012-02-19 10:46:18 +01:00
|
|
|
post_install() {
|
2013-04-30 10:41:20 +02:00
|
|
|
rm -f ${DESTDIR}/usr/lib/*.la
|
2011-07-07 19:07:30 +02:00
|
|
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|
2013-04-12 19:13:19 +02:00
|
|
|
|
|
|
|
libpng-devel_package() {
|
|
|
|
depends="zlib-devel libpng>=$version"
|
2013-07-19 08:34:31 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 19:13:19 +02:00
|
|
|
pkg_install() {
|
2013-07-19 08:34:31 +02:00
|
|
|
vmove "usr/bin/libpng*-config"
|
2013-04-12 19:13:19 +02:00
|
|
|
vmove usr/include
|
2013-04-30 10:22:12 +02:00
|
|
|
vmove "usr/lib/*.a"
|
2013-07-19 08:34:31 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 19:13:19 +02:00
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/man/man3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-07-19 08:34:31 +02:00
|
|
|
libpng-progs_package() {
|
|
|
|
short_desc+=" - utilities"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-04-12 19:13:19 +02:00
|
|
|
libpng_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|