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