From 0829338e84bb72a2d6e1036be382ba24d8e435c9 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 17 Apr 2009 17:17:34 +0200 Subject: [PATCH] tiff: new deps style, converted to subpkgs. --HG-- extra : convert_revision : 97bc1a0fd3fc4aeb689669a65a130f12f45e4aa4 --- templates/tiff-devel | 1 + templates/tiff/depends | 2 ++ templates/tiff/devel.template | 19 +++++++++++++++++++ templates/tiff/template | 11 +++++++++-- 4 files changed, 31 insertions(+), 2 deletions(-) create mode 120000 templates/tiff-devel create mode 100644 templates/tiff/depends create mode 100644 templates/tiff/devel.template diff --git a/templates/tiff-devel b/templates/tiff-devel new file mode 120000 index 0000000000..ec2c100ef9 --- /dev/null +++ b/templates/tiff-devel @@ -0,0 +1 @@ +tiff \ No newline at end of file diff --git a/templates/tiff/depends b/templates/tiff/depends new file mode 100644 index 0000000000..78a96f1fbe --- /dev/null +++ b/templates/tiff/depends @@ -0,0 +1,2 @@ +abi_depends=3.8.2 +api_depends=${abi_depends} diff --git a/templates/tiff/devel.template b/templates/tiff/devel.template new file mode 100644 index 0000000000..5c5317cb39 --- /dev/null +++ b/templates/tiff/devel.template @@ -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 +} diff --git a/templates/tiff/template b/templates/tiff/template index 4875595af0..40f91eb390 100644 --- a/templates/tiff/template +++ b/templates/tiff/template @@ -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 " -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++