tiff: new deps style, converted to subpkgs.

--HG--
extra : convert_revision : 97bc1a0fd3fc4aeb689669a65a130f12f45e4aa4
This commit is contained in:
Juan RP 2009-04-17 17:17:34 +02:00
parent beff730fd3
commit 0829338e84
4 changed files with 31 additions and 2 deletions

1
templates/tiff-devel Symbolic link
View File

@ -0,0 +1 @@
tiff

2
templates/tiff/depends Normal file
View File

@ -0,0 +1,2 @@
abi_depends=3.8.2
api_depends=${abi_depends}

View File

@ -0,0 +1,19 @@
# Template file for 'tiff-devel'.
#
short_desc="${sourcepkg} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
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/lib/lib*.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/share/doc ${DESTDIR}/usr/share
}

View File

@ -1,12 +1,13 @@
# Template build file for 'tiff'.
pkgname=tiff
sourcepkg=$pkgname
version=3.8.2
distfiles="http://libtiff.maptools.org/dl/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--enable-rpath --enable-cxx --without-x"
configure_args="--enable-cxx --without-x"
short_desc="Library and tools for reading and writing TIFF data files"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=1b4d825e3be08764e953fc58246d0c25ab4dd17d
checksum=be88f037080b93ce0a337b2b3ca5e8195f76885deb6c558cc3aa872ee848fc76
long_desc="
This is software provides support for the Tag Image Format (TIFF).
Included is a library, libtiff, for reading and writing TIFF, a
@ -18,3 +19,9 @@ long_desc="
your needs for reading and writing files that follow the 5.0 or 6.0
TIFF spec. There is also considerable support for some of the more
esoteric portions of the 6.0 TIFF spec."
subpackages="devel"
Add_dependency full glibc
Add_dependency full zlib
Add_dependency full jpeg
Add_dependency run gcc-libstdc++