aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/devicekit
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-05-21 15:43:11 +0200
committerKoen Kooi <koen@openembedded.org>2009-05-21 15:43:11 +0200
commitd5edeac207fb8e4c69243842e8a45b0f0150fc15 (patch)
treeeffdc69bfab60bb35d307961e3756774d94249c4 /recipes/devicekit
parentccab93e06e6b3fc9a58a000fce97270d99911780 (diff)
downloadopenembedded-d5edeac207fb8e4c69243842e8a45b0f0150fc15.tar.gz
libatasmart: add 0.13
Diffstat (limited to 'recipes/devicekit')
-rw-r--r--recipes/devicekit/libatasmart_0.13.bb20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes/devicekit/libatasmart_0.13.bb b/recipes/devicekit/libatasmart_0.13.bb
new file mode 100644
index 0000000000..31565f6cfb
--- /dev/null
+++ b/recipes/devicekit/libatasmart_0.13.bb
@@ -0,0 +1,20 @@
+LICENSE = "LGPL"
+
+SRCREV = "a80d7d5c25e88adea7b8e843cdb57143e6cfb46b"
+SRC_URI = "git://git.0pointer.de/libatasmart.git;protocol=git"
+
+S = "${WORKDIR}/git"
+
+inherit autotools_stage lib_package
+AUTOTOOLS_STAGE_PKGCONFIG = "1"
+
+do_compile_prepend() {
+ rm strpool -f
+ ${BUILD_CC} -o strpool strpool.c
+ chmod +x strpool
+}
+
+do_stage_append() {
+ sed -i -e s://:/:g -e s:${base_libdir}/libudev.la:-ludev:g ${STAGING_LIBDIR}/libatasmart.la
+}
+