void-packages/srcpkgs/libpng/template

29 lines
1.1 KiB
Plaintext

# Template build file for 'libpng'.
pkgname=libpng
version=1.5.12
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=e83c4897bb92a7c67e6610a56676f2fdc213fe2995e9c1fef6f0cf7d70b30976
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}
}