aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/devicekit/libatasmart_0.13.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/devicekit/libatasmart_0.13.bb')
-rw-r--r--recipes/devicekit/libatasmart_0.13.bb12
1 files changed, 3 insertions, 9 deletions
diff --git a/recipes/devicekit/libatasmart_0.13.bb b/recipes/devicekit/libatasmart_0.13.bb
index 992ff3ebbe..4a4986effe 100644
--- a/recipes/devicekit/libatasmart_0.13.bb
+++ b/recipes/devicekit/libatasmart_0.13.bb
@@ -2,20 +2,14 @@ DEPENDS = "udev"
LICENSE = "LGPL"
SRCREV = "a80d7d5c25e88adea7b8e843cdb57143e6cfb46b"
-SRC_URI = "git://git.0pointer.de/libatasmart.git;protocol=git"
+SRC_URI = "git://git.0pointer.de/libatasmart.git;protocol=git \
+ file://strpool.patch"
S = "${WORKDIR}/git"
-PR = "r1"
+PR = "r2"
inherit autotools lib_package
-do_compile_prepend() {
- rm strpool -f
- ${BUILD_CC} -o strpool strpool.c
- chmod +x strpool
-}
-
do_install_append() {
sed -i -e s://:/:g -e s:${base_libdir}/libudev.la:-ludev:g ${D}${libdir}/libatasmart.la
}
-