summaryrefslogtreecommitdiff
path: root/recipes/raw-tools/exiv2_0.20.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-07-05 08:47:41 +0200
committerKoen Kooi <koen@openembedded.org>2010-07-05 08:47:41 +0200
commiteb778c914f8b5c300175c66fb0808fd47f1f04d7 (patch)
tree11813da5abba02a9a2f443974fc3c8fa9ed2bdba /recipes/raw-tools/exiv2_0.20.bb
parentdafcd0c847c064b190f70262045547f9c05fd48d (diff)
exiv2: remove broken 0.15 and add working 0.20
Diffstat (limited to 'recipes/raw-tools/exiv2_0.20.bb')
-rw-r--r--recipes/raw-tools/exiv2_0.20.bb17
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes/raw-tools/exiv2_0.20.bb b/recipes/raw-tools/exiv2_0.20.bb
new file mode 100644
index 0000000000..2b43d0c57d
--- /dev/null
+++ b/recipes/raw-tools/exiv2_0.20.bb
@@ -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
+}
+