# Template build file for 'libpng'.
pkgname=libpng
version=1.5.11
revision=1
patch_args="-Np1"
build_style=gnu-configure
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=a2919797897d7159cec15a7305f668e0e50993c019d6716515aa8ec831e8704d
long_desc="
 Libpng was written as a companion to the PNG specification, as a
 way to reduce the amount of time and effort it takes to support
 the PNG file format in application programs. Most users will not
 have to modify the library significantly; advanced users may want
 to modify it more. The library was coded for both users.  All
 attempts were made to make it as complete as possible, while
 keeping the code easy to understand.  Currently, this library
 only supports C. Support for other languages is being considered."

post_install() {
	rm -f ${DESTDIR}/usr/lib/*.la
	vinstall LICENSE 644 usr/share/licenses/${pkgname}
}
