[oe-commits] Koen Kooi : libatasmart: add 0.17

git version control git at git.openembedded.org
Thu Jun 9 19:31:57 UTC 2011


Module: meta-openembedded.git
Branch: master
Commit: b78c1baaff4e5d2f5ead8f6687bedb620b0fa690
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=b78c1baaff4e5d2f5ead8f6687bedb620b0fa690

Author: Koen Kooi <koen at dominion.thruhere.net>
Date:   Thu Jun  9 19:54:28 2011 +0200

libatasmart: add 0.17

Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>

---

 .../libatasmart/libatasmart-0.17/strpool.patch     |   11 +++++++++++
 .../libatasmart/libatasmart_0.17.bb                |   17 +++++++++++++++++
 2 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/meta-oe/recipes-support/libatasmart/libatasmart-0.17/strpool.patch b/meta-oe/recipes-support/libatasmart/libatasmart-0.17/strpool.patch
new file mode 100644
index 0000000..e9f6ab3
--- /dev/null
+++ b/meta-oe/recipes-support/libatasmart/libatasmart-0.17/strpool.patch
@@ -0,0 +1,11 @@
+--- git/Makefile.am.orig	2010-09-24 11:03:40.917602895 +0200
++++ git/Makefile.am	2010-09-24 11:07:04.145852660 +0200
+@@ -81,5 +81,8 @@
+ BUILT_SOURCES = \
+ 	atasmart.strpool.c
+ 
++strpool: $(strpool_SOURCES)
++	$(BUILD_CC) -o $@ $?
++
+ atasmart.strpool.c: atasmart.c strpool
+ 	$(top_builddir)/strpool $< $@
diff --git a/meta-oe/recipes-support/libatasmart/libatasmart_0.17.bb b/meta-oe/recipes-support/libatasmart/libatasmart_0.17.bb
new file mode 100644
index 0000000..c8f75f8
--- /dev/null
+++ b/meta-oe/recipes-support/libatasmart/libatasmart_0.17.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "ATA S.M.A.R.T. Reading and Parsing Library"
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1"
+
+DEPENDS = "udev"
+
+SRCREV = "v${PV}"
+SRC_URI = "git://git.0pointer.de/libatasmart.git;protocol=git \
+	file://strpool.patch"
+
+S = "${WORKDIR}/git"
+
+inherit autotools lib_package
+
+do_install_append() {
+	sed -i -e s://:/:g -e 's:=${libdir}/libudev.la:-ludev:g' ${D}${libdir}/libatasmart.la
+}





More information about the Openembedded-commits mailing list