libatasmart: add 0.17

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Koen Kooi 2011-06-09 19:54:28 +02:00
parent e7d41e4930
commit b78c1baaff
2 changed files with 28 additions and 0 deletions

View File

@ -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 $< $@

View File

@ -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
}