tiff: move pkgconfig files to -devel subpkg.

This commit is contained in:
Juan RP 2012-01-14 16:04:30 +01:00
parent 6de948facb
commit bbaa6aa464
2 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,7 @@
# Template build file for 'tiff'.
pkgname=tiff
version=4.0.0
revision=1
distfiles="ftp://ftp.remotesensing.org/pub/libtiff/$pkgname-$version.tar.gz"
build_style=gnu-configure
configure_args="--enable-cxx --without-x"

View File

@ -1,5 +1,6 @@
# Template file for 'tiff-devel'.
#
revision=1
short_desc="${sourcepkg} (development files)"
long_desc="${long_desc}
@ -9,12 +10,10 @@ Add_dependency run zlib-devel
Add_dependency run jpeg-devel
Add_dependency run tiff
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mkdir -p ${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/share/doc ${DESTDIR}/usr/share
do_install() {
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
vmove "usr/lib/*.a" usr/lib
vmove usr/share/man/man3 usr/share/man
vmove usr/share/doc usr/share
}