summaryrefslogtreecommitdiff
path: root/packages/dmidecode/dmidecode_2.9.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/dmidecode/dmidecode_2.9.bb')
-rw-r--r--packages/dmidecode/dmidecode_2.9.bb17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/dmidecode/dmidecode_2.9.bb b/packages/dmidecode/dmidecode_2.9.bb
new file mode 100644
index 0000000000..cc46524799
--- /dev/null
+++ b/packages/dmidecode/dmidecode_2.9.bb
@@ -0,0 +1,17 @@
+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"
+
+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
+}