From 85efc571d5da08e4af3e84eb63b6854148e7f105 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 25 Aug 2008 21:08:16 +0000 Subject: Move libtiff to meta from meta-extras git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5102 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/libtiff/files/libtool2.patch | 19 +++++++++++++++++++ meta/packages/libtiff/tiff_3.8.2.bb | 25 +++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 meta/packages/libtiff/files/libtool2.patch create mode 100644 meta/packages/libtiff/tiff_3.8.2.bb (limited to 'meta/packages') diff --git a/meta/packages/libtiff/files/libtool2.patch b/meta/packages/libtiff/files/libtool2.patch new file mode 100644 index 000000000..8285be51d --- /dev/null +++ b/meta/packages/libtiff/files/libtool2.patch @@ -0,0 +1,19 @@ +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- tiff-3.8.2.orig/configure.ac ++++ tiff-3.8.2/configure.ac +@@ -25,11 +25,11 @@ dnl OF THIS SOFTWARE. + dnl Process this file with autoconf to produce a configure script. + + AC_PREREQ(2.59) + AC_INIT([LibTIFF Software], 3.8.2, [tiff@lists.maptools.org], tiff) + AC_CONFIG_AUX_DIR(config) +-AC_CONFIG_MACRO_DIR(m4) ++dnl AC_CONFIG_MACRO_DIR(m4) + AC_LANG(C) + + dnl Compute the canonical target-system type variable + AC_CANONICAL_TARGET + diff --git a/meta/packages/libtiff/tiff_3.8.2.bb b/meta/packages/libtiff/tiff_3.8.2.bb new file mode 100644 index 000000000..e9a88ae58 --- /dev/null +++ b/meta/packages/libtiff/tiff_3.8.2.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "This software provides support for the Tag Image File Format (TIFF)" +LICENSE = "" +HOMEPAGE = "http://www.remotesensing.org/libtiff/" +DEPENDS = "zlib jpeg lzo" +PR = "r1" + +SRC_URI = "ftp://ftp.remotesensing.org/pub/libtiff/tiff-${PV}.tar.gz \ + file://libtool2.patch;patch=1" + +inherit autotools + +do_stage() { + autotools_stage_includes + install -d ${STAGING_LIBDIR} + oe_libinstall -C libtiff -a -so libtiff ${STAGING_LIBDIR} + oe_libinstall -C libtiff -a -so libtiffxx ${STAGING_LIBDIR} + +} + +PACKAGES =+ "tiffxx tiffxx-dbg tiffxx-dev tiff-utils tiff-utils-dbg" +FILES_tiffxx = "${libdir}/libtiffxx.so.*" +FILES_tiffxx-dev = "${libdir}/libtiffxx.so ${libdir}/libtiffxx.*a" +FILES_tiffxx-dbg += "${libdir}/.debug/libtiffxx.so*" +FILES_tiff-utils = "${bindir}/*" +FILES_tiff-utils-dbg += "${bindir}/.debug/" -- cgit v1.2.3