2016-10-09 20:42:26 +02:00
|
|
|
# Template build file for 'libpng12'.
|
|
|
|
pkgname=libpng12
|
2017-01-02 23:45:50 +01:00
|
|
|
version=1.2.57
|
|
|
|
revision=1
|
2016-10-09 20:42:26 +02:00
|
|
|
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"
|
2017-01-02 23:45:50 +01:00
|
|
|
checksum=0f4620e11fa283fedafb474427c8e96bf149511a1804bdc47350963ae5cf54d8
|
2016-10-09 20:42:26 +02:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
rm -f ${DESTDIR}/usr/lib/*.la
|
|
|
|
vlicense LICENSE
|
2016-11-23 21:59:18 +01:00
|
|
|
mv $DESTDIR/usr/share/man/man5/png.5 $DESTDIR/usr/share/man/man5/png12.5
|
2016-10-09 20:42:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
libpng12-devel_package() {
|
|
|
|
depends="${makedepends} libpng12>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
2016-11-23 21:59:18 +01:00
|
|
|
conflicts="libpng-devel"
|
2016-10-09 20:42:26 +02:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|