summaryrefslogtreecommitdiff
path: root/meta-extras/packages/libtiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-04-03 05:17:59 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-04-03 05:17:59 +0000
commitdc5aa58b06af479eee6fd00429310ccd32802402 (patch)
tree965bef757925d9c49f1fd8d25fe07f4d5fe61b29 /meta-extras/packages/libtiff
parent4d6f84682f3ab3a6f358d161a8116092083d4662 (diff)
downloadopenembedded-core-dc5aa58b06af479eee6fd00429310ccd32802402.tar.gz
openembedded-core-dc5aa58b06af479eee6fd00429310ccd32802402.tar.bz2
openembedded-core-dc5aa58b06af479eee6fd00429310ccd32802402.zip
libtiff: added 3.7.2 from OE (required by python-imaging)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4161 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta-extras/packages/libtiff')
-rw-r--r--meta-extras/packages/libtiff/tiff-3.7.2/configure.patch20
-rw-r--r--meta-extras/packages/libtiff/tiff_3.7.2.bb25
2 files changed, 45 insertions, 0 deletions
diff --git a/meta-extras/packages/libtiff/tiff-3.7.2/configure.patch b/meta-extras/packages/libtiff/tiff-3.7.2/configure.patch
new file mode 100644
index 0000000000..599af6c188
--- /dev/null
+++ b/meta-extras/packages/libtiff/tiff-3.7.2/configure.patch
@@ -0,0 +1,20 @@
+Index: tiff-3.7.2/configure.ac
+===================================================================
+--- tiff-3.7.2.orig/configure.ac 2005-03-15 10:42:19.000000000 -0500
++++ tiff-3.7.2/configure.ac 2007-10-10 12:05:58.000000000 -0400
+@@ -32,7 +32,6 @@
+ AC_CANONICAL_TARGET
+
+ AM_INIT_AUTOMAKE
+-AM_PROG_CC_C_O
+ dnl Do not rebuild generated files every time
+ AM_MAINTAINER_MODE
+
+@@ -55,6 +54,7 @@
+
+ dnl Checks for programs.
+ AC_PROG_CC
++AM_PROG_CC_C_O
+
+ dnl We want warnings. As many warnings as possible.
+ #VL_PROG_CC_WARNINGS()
diff --git a/meta-extras/packages/libtiff/tiff_3.7.2.bb b/meta-extras/packages/libtiff/tiff_3.7.2.bb
new file mode 100644
index 0000000000..1f28e718bc
--- /dev/null
+++ b/meta-extras/packages/libtiff/tiff_3.7.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 = "r4"
+
+SRC_URI = "http://dl.maptools.org/dl/libtiff/old/tiff-${PV}.tar.gz \
+ file://configure.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/"