34 lines
970 B
Bash
34 lines
970 B
Bash
# Template build file for 'libpng12'.
|
|
pkgname=libpng12
|
|
version=1.2.59
|
|
revision=1
|
|
wrksrc=libpng-${version}
|
|
build_style=gnu-configure
|
|
makedepends="zlib-devel"
|
|
short_desc="Library for manipulating PNG images, compatibility package"
|
|
maintainer="lemmi <lemmi@nerd2nerd.org>"
|
|
homepage="http://www.libpng.org/pub/png/libpng.html"
|
|
license="zlib"
|
|
distfiles="ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng12/libpng-${version}.tar.xz"
|
|
checksum=b4635f15b8adccc8ad0934eea485ef59cc4cae24d0f0300a9a941e51974ffcc7
|
|
|
|
post_install() {
|
|
rm -f ${DESTDIR}/usr/lib/*.la
|
|
vlicense LICENSE
|
|
mv $DESTDIR/usr/share/man/man5/png.5 $DESTDIR/usr/share/man/man5/png12.5
|
|
}
|
|
|
|
libpng12-devel_package() {
|
|
depends="${makedepends} libpng12>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
conflicts="libpng-devel"
|
|
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
|
|
}
|
|
}
|