2008-10-04 04:29:49 +00:00
|
|
|
# Template build file for 'libpng'.
|
|
|
|
pkgname=libpng
|
2013-01-26 07:52:28 +00:00
|
|
|
version=1.5.14
|
2013-04-12 17:13:19 +00:00
|
|
|
revision=2
|
2011-07-07 17:07:30 +00:00
|
|
|
patch_args="-Np1"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-09-27 22:52:24 +00:00
|
|
|
configure_args="--disable-static"
|
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"
|
2012-06-05 22:09:11 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
|
2013-01-26 07:52:28 +00:00
|
|
|
checksum=bd6bab0534d75ceec08be3ddc08d57096013b829f81cd39ebd468f2c7d10d1bc
|
2009-03-25 06:28:22 +00:00
|
|
|
|
2012-02-19 09:46:18 +00:00
|
|
|
post_install() {
|
2012-06-07 05:24:29 +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() {
|
|
|
|
depends="zlib-devel libpng>=$version"
|
|
|
|
short_desc="${short_desc} -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/man/man3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libpng_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|