diff options
| author | Koen Kooi <koen@dominion.thruhere.net> | 2011-06-09 19:54:28 +0200 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-06-09 20:02:17 +0200 |
| commit | b78c1baaff4e5d2f5ead8f6687bedb620b0fa690 (patch) | |
| tree | 87674b38b0641edb593b8c3b5c2fa3d45a1b9b66 /meta-oe/recipes-support/libatasmart | |
| parent | e7d41e49305cafcb4cfb7b6af2940573cee4fb51 (diff) | |
| download | meta-openembedded-b78c1baaff4e5d2f5ead8f6687bedb620b0fa690.tar.gz | |
libatasmart: add 0.17
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-support/libatasmart')
| -rw-r--r-- | meta-oe/recipes-support/libatasmart/libatasmart-0.17/strpool.patch | 11 | ||||
| -rw-r--r-- | meta-oe/recipes-support/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 0000000000..e9f6ab31e5 --- /dev/null +++ b/meta-oe/recipes-support/libatasmart/libatasmart-0.17/strpool.patch | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | --- git/Makefile.am.orig 2010-09-24 11:03:40.917602895 +0200 | ||
| 2 | +++ git/Makefile.am 2010-09-24 11:07:04.145852660 +0200 | ||
| 3 | @@ -81,5 +81,8 @@ | ||
| 4 | BUILT_SOURCES = \ | ||
| 5 | atasmart.strpool.c | ||
| 6 | |||
| 7 | +strpool: $(strpool_SOURCES) | ||
| 8 | + $(BUILD_CC) -o $@ $? | ||
| 9 | + | ||
| 10 | atasmart.strpool.c: atasmart.c strpool | ||
| 11 | $(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 0000000000..c8f75f8482 --- /dev/null +++ b/meta-oe/recipes-support/libatasmart/libatasmart_0.17.bb | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | DESCRIPTION = "ATA S.M.A.R.T. Reading and Parsing Library" | ||
| 2 | LICENSE = "LGPLv2.1" | ||
| 3 | LIC_FILES_CHKSUM = "file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1" | ||
| 4 | |||
| 5 | DEPENDS = "udev" | ||
| 6 | |||
| 7 | SRCREV = "v${PV}" | ||
| 8 | SRC_URI = "git://git.0pointer.de/libatasmart.git;protocol=git \ | ||
| 9 | file://strpool.patch" | ||
| 10 | |||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | inherit autotools lib_package | ||
| 14 | |||
| 15 | do_install_append() { | ||
| 16 | sed -i -e s://:/:g -e 's:=${libdir}/libudev.la:-ludev:g' ${D}${libdir}/libatasmart.la | ||
| 17 | } | ||
