35 lines
804 B
Text
35 lines
804 B
Text
# Template build file for 'libpng'.
|
|
pkgname=libpng
|
|
version=1.6.2
|
|
revision=1
|
|
patch_args="-Np1"
|
|
build_style=gnu-configure
|
|
makedepends="zlib-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.xz"
|
|
checksum=1c97a90bc22107e50f04f77a0115f4ec890d5c6a373ac4c560e8fb87259e92de
|
|
|
|
post_install() {
|
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
|
}
|
|
|
|
libpng-devel_package() {
|
|
depends="zlib-devel libpng>=$version"
|
|
short_desc+=" -- development files"
|
|
pkg_install() {
|
|
vmove usr/bin
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/man/man3
|
|
}
|
|
}
|
|
|
|
libpng_package() {
|
|
pkg_install() {
|
|
vmove usr
|
|
}
|
|
}
|