diff --git a/srcpkgs/libpng12-devel b/srcpkgs/libpng12-devel new file mode 120000 index 00000000000..da491d9066b --- /dev/null +++ b/srcpkgs/libpng12-devel @@ -0,0 +1 @@ +libpng12 \ No newline at end of file diff --git a/srcpkgs/libpng12/template b/srcpkgs/libpng12/template new file mode 100644 index 00000000000..b5eb1d7cbe0 --- /dev/null +++ b/srcpkgs/libpng12/template @@ -0,0 +1,31 @@ +# Template build file for 'libpng12'. +pkgname=libpng12 +version=1.2.56 +revision=1 +wrksrc=libpng-${version} +build_style=gnu-configure +makedepends="zlib-devel" +short_desc="Library for manipulating PNG images, compatibility package" +maintainer="lemmi " +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=24ce54581468b937734a6ecc86f7e121bc46a90d76a0d948dca08f32ee000dbe + +post_install() { + rm -f ${DESTDIR}/usr/lib/*.la + vlicense LICENSE +} + +libpng12-devel_package() { + depends="${makedepends} libpng12>=${version}_${revision}" + 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 + } +} diff --git a/srcpkgs/libpng12/update b/srcpkgs/libpng12/update new file mode 100644 index 00000000000..125db71da82 --- /dev/null +++ b/srcpkgs/libpng12/update @@ -0,0 +1 @@ +ignore="*beta*"