void-packages/srcpkgs/libpng/template
2012-02-19 10:46:18 +01:00

27 lines
1 KiB
Text

# Template build file for 'libpng'.
pkgname=libpng
version=1.4.9
patch_args="-Np1"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
build_style=gnu-configure
short_desc="Library for manipulating PNG images"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.libpng.org/pub/png/libpng.html"
license="zlib"
checksum=a4210ef5947f969fb01e66f40052824d9dadd84fc67c528abc30b5ba81b2b4dc
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."
subpackages="$pkgname-devel"
Add_dependency build zlib-devel
post_install() {
vinstall LICENSE 644 usr/share/licenses/${pkgname}
}