vp-build/srcpkgs/libpng/template
2012-06-07 07:24:29 +02:00

29 lines
1.1 KiB
Plaintext

# Template build file for 'libpng'.
pkgname=libpng
version=1.5.10
revision=2
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=4d044852d3fbe5c0fad51f80f3f9bd519a6d5e1997079b165aa2292bd706cd5d
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}
}