summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dmidecode/dmidecode_2.12.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/dmidecode/dmidecode_2.12.bb')
-rw-r--r--meta/recipes-devtools/dmidecode/dmidecode_2.12.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-devtools/dmidecode/dmidecode_2.12.bb b/meta/recipes-devtools/dmidecode/dmidecode_2.12.bb
new file mode 100644
index 0000000000..fb2c62a20c
--- /dev/null
+++ b/meta/recipes-devtools/dmidecode/dmidecode_2.12.bb
@@ -0,0 +1,21 @@
1DESCRIPTION = "DMI (Desktop Management Interface) table related utilities"
2HOMEPAGE = "http://www.nongnu.org/dmidecode/"
3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833"
5PR = "r0"
6
7SRC_URI = "http://savannah.nongnu.org/download/dmidecode/${BP}.tar.bz2"
8
9COMPATIBLE_HOST = "(i.86|x86_64|aarch64|arm).*-linux"
10
11do_install() {
12 oe_runmake DESTDIR="${D}" install
13}
14
15do_unpack_extra() {
16 sed -i -e '/^prefix/s:/usr/local:${exec_prefix}:' Makefile
17}
18addtask unpack_extra after do_unpack before do_patch
19
20SRC_URI[md5sum] = "a406f3cbb27736491698697beeddb781"
21SRC_URI[sha256sum] = "913ff3055d563a62a420789b8ee33b038de9afa18ea61254760ddf8ab87a5088"