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