summaryrefslogtreecommitdiff
path: root/recipes/dmidecode/dmidecode_2.9.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/dmidecode/dmidecode_2.9.bb')
-rw-r--r--recipes/dmidecode/dmidecode_2.9.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/dmidecode/dmidecode_2.9.bb b/recipes/dmidecode/dmidecode_2.9.bb
new file mode 100644
index 0000000000..2186120498
--- /dev/null
+++ b/recipes/dmidecode/dmidecode_2.9.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "DMI (Desktop Management Interface) table related utilities"
+HOMEPAGE = "http://www.nongnu.org/dmidecode/"
+LICENSE = "GPLv2"
+PR = "r0"
+
+SRC_URI = "http://savannah.nongnu.org/download/dmidecode/${P}.tar.bz2"
+
+COMPATIBLE_HOST = "i.86.*-linux"
+
+do_unpack_extra() {
+ sed -i \
+ -e '/^prefix/s:/usr/local:/usr:' \
+ Makefile
+}
+addtask unpack_extra after do_unpack before do_patch
+
+do_install() {
+ oe_runmake DESTDIR="${D}" install
+}