summaryrefslogtreecommitdiff
path: root/packages/dmidecode
diff options
context:
space:
mode:
authorKalev Lember <kalev@smartlink.ee>2008-10-18 22:54:41 +0300
committerKalev Lember <kalev@smartlink.ee>2008-10-18 23:38:18 +0300
commit3fd65b456975dbf28e62fa58f84cb54ceb34a216 (patch)
tree6c68bef9be5f671eb397f0992d1f8b14ed42edac /packages/dmidecode
parenteaa9212f44163b7379d9019cf8ece8fa1a707a81 (diff)
dmidecode 2.9: new recipe
Diffstat (limited to 'packages/dmidecode')
-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
+}