void-packages/srcpkgs/libpng/template

38 lines
909 B
Text
Raw Normal View History

# Template build file for 'libpng'.
pkgname=libpng
2014-03-09 21:18:21 +00:00
version=1.6.10
revision=1
build_style=gnu-configure
makedepends="zlib-devel"
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"
2013-04-30 08:22:12 +00:00
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.xz"
2014-03-09 21:18:21 +00:00
checksum=4003f0fd0e36110a2b742fc5b9e1ab93ed7a7ab57ae8dc65f0e8101458775a56
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}
}
libpng-devel_package() {
2013-11-20 05:51:37 +00:00
depends="zlib-devel libpng>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/bin/libpng*-config"
vmove usr/include
2013-04-30 08:22:12 +00:00
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
}
}
libpng-progs_package() {
short_desc+=" - utilities"
pkg_install() {
vmove usr/bin
}
}