libpng: remove libtool archives from -devel subpkg.

This commit is contained in:
Juan RP 2012-03-30 02:12:52 +02:00
parent 330a94d63d
commit 4913b26945
2 changed files with 10 additions and 8 deletions

View file

@ -6,14 +6,15 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run zlib-devel
Add_dependency run libpng
Add_dependency run libpng ">=${version}"
do_install()
{
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man
revision=1
mv ${SRCPKGDESTDIR}/usr/{bin,include} ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
do_install() {
vmove usr/bin usr
vmove usr/include usr
vmove "usr/lib/*.a" usr/lib
vmove usr/lib/pkgconfig usr/lib
vmove usr/share/man/man3 usr/share/man
rm -f ${SRCPKGDESTDIR}/usr/lib/*.la
}

View file

@ -1,6 +1,7 @@
# Template build file for 'libpng'.
pkgname=libpng
version=1.4.9
revision=1
patch_args="-Np1"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
build_style=gnu-configure