summaryrefslogtreecommitdiff
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
parenteaa9212f44163b7379d9019cf8ece8fa1a707a81 (diff)
dmidecode 2.9: new recipe
-rw-r--r--conf/checksums.ini4
-rw-r--r--packages/dmidecode/dmidecode_2.9.bb17
2 files changed, 21 insertions, 0 deletions
diff --git a/conf/checksums.ini b/conf/checksums.ini
index aa9dd17b49..26f22e66e4 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -2910,6 +2910,10 @@ sha256=57ffa154f45de309b352ce53aa6618af2f8639d1e330470c3c955241d44ccd78
md5=c94091de014b3aaf037d3d0f398d36c2
sha256=d937528e10c16831d8df31893ee24da8ec2bfd9e9170671c482a1b1abfc5efc3
+[http://savannah.nongnu.org/download/dmidecode/dmidecode-2.9.tar.bz2]
+md5=3dac4b1817012ffebd78671473d8f56c
+sha256=888eb2c25bdcef5ee34c38cd5cb0f491d7dd82029dc0f4ae96183a0088a5e015
+
[http://xorg.freedesktop.org/releases/individual/proto/dmxproto-2.2.2.tar.bz2]
md5=d80acad88411e7944b9b085463d53302
sha256=aaa6d9c9d5ec58f733ca4d7413c541413482bce666217267e5bf88442e35fce2
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
+}