exiv2: remove broken 0.15 and add working 0.20
authorKoen Kooi <koen@openembedded.org>
Mon, 5 Jul 2010 06:47:41 +0000 (08:47 +0200)
committerKoen Kooi <koen@openembedded.org>
Mon, 5 Jul 2010 06:47:41 +0000 (08:47 +0200)
recipes/raw-tools/exiv2_0.15.bb [deleted file]
recipes/raw-tools/exiv2_0.20.bb [new file with mode: 0644]

diff --git a/recipes/raw-tools/exiv2_0.15.bb b/recipes/raw-tools/exiv2_0.15.bb
deleted file mode 100644 (file)
index e91e6d8..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-DESCRIPTION = "Exiv2 is a C++ library and a command line utility to access image metadata."
-LICENSE = "GPL"
-DEPENDS = "tiff zlib" 
-
-SRC_URI = "http://www.exiv2.org/exiv2-${PV}.tar.gz"
-
-inherit autotools pkgconfig lib_package
-
-
-do_stage() {
-       autotools_stage_all
-} 
-
-
-
-SRC_URI[md5sum] = "bb18d19e1d6fb255dadda456cadec00e"
-SRC_URI[sha256sum] = "b72d82e9117308063471993f3832e58064c0599dec3df2bf2a7ce54450984a3e"
diff --git a/recipes/raw-tools/exiv2_0.20.bb b/recipes/raw-tools/exiv2_0.20.bb
new file mode 100644 (file)
index 0000000..2b43d0c
--- /dev/null
@@ -0,0 +1,17 @@
+DESCRIPTION = "Exiv2 is a C++ library and a command line utility to access image metadata."
+LICENSE = "GPLv2+"
+DEPENDS = "tiff zlib" 
+
+SRC_URI = "http://www.exiv2.org/exiv2-${PV}.tar.gz"
+SRC_URI[md5sum] = "3173d08a4313dc94b7bd1b7cdbda2093"
+SRC_URI[sha256sum] = "7485f252c18119e61cdf1d73487bf0c5e3da6707decd6238407504847b323972"
+
+inherit autotools lib_package
+
+do_install_append() {
+       for pc in $(find ${D} -name "*.pc") ; do
+               sed -i 's:-Wl,-rpath-link,${STAGING_LIBDIR}::g' $pc
+               sed -i 's:-L${STAGING_LIBDIR}::g' $pc
+       done
+}
+