45 lines
987 B
Plaintext
45 lines
987 B
Plaintext
# Template build file for 'libpng'.
|
|
pkgname=libpng
|
|
version=1.6.6
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="ac_cv_func_strtod=yes"
|
|
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=0407965a0057af7a9e4cefe27c062f517d9ad701cdfd20aa91afb6a84f214e70
|
|
|
|
post_install() {
|
|
rm -f ${DESTDIR}/usr/lib/*.la
|
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
|
}
|
|
|
|
libpng-devel_package() {
|
|
depends="zlib-devel libpng>=$version"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove "usr/bin/libpng*-config"
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/man/man3
|
|
}
|
|
}
|
|
|
|
libpng-progs_package() {
|
|
short_desc+=" - utilities"
|
|
pkg_install() {
|
|
vmove usr/bin
|
|
}
|
|
}
|
|
|
|
libpng_package() {
|
|
pkg_install() {
|
|
vmove all
|
|
}
|
|
}
|