void-packages/srcpkgs/libpng/template

45 lines
1001 B
Plaintext
Raw Normal View History

# Template build file for 'libpng'.
pkgname=libpng
2013-11-20 06:51:37 +01:00
version=1.6.7
revision=1
build_style=gnu-configure
2013-10-02 08:02:55 +02:00
configure_args="ac_cv_func_strtod=yes"
makedepends="zlib-devel"
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-11-20 06:51:37 +01:00
checksum=13c9c853a9a600218fff9961658dc4f485ad2ef9b862315b434dd2fdbbe1f945
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}
}
libpng-devel_package() {
2013-11-20 06:51:37 +01:00
depends="zlib-devel libpng>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/bin/libpng*-config"
vmove usr/include
2013-04-30 10:22:12 +02: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
}
}
libpng_package() {
pkg_install() {
2013-10-02 08:02:55 +02:00
vmove all
}
}