void-packages/srcpkgs/libpng/template

21 lines
611 B
Plaintext

# Template build file for 'libpng'.
pkgname=libpng
version=1.5.14
revision=1
patch_args="-Np1"
build_style=gnu-configure
configure_args="--disable-static"
makedepends="zlib-devel"
subpackages="$pkgname-devel"
short_desc="Library for manipulating PNG images"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.libpng.org/pub/png/libpng.html"
license="zlib"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
checksum=bd6bab0534d75ceec08be3ddc08d57096013b829f81cd39ebd468f2c7d10d1bc
post_install() {
rm -f ${DESTDIR}/usr/lib/*.la
vinstall LICENSE 644 usr/share/licenses/${pkgname}
}