diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2015-12-09 18:19:18 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-16 12:11:24 +0000 |
commit | f86e612c147c69756cd263f6855a65646672c0e8 (patch) | |
tree | bad09b0a5d83774e2938e2847446d0250beac99e /meta/recipes-devtools/dmidecode/dmidecode_3.0.bb | |
parent | feeaa86eb8b1071d56eb6d7ad7120aa389c736a0 (diff) | |
download | openembedded-core-contrib-f86e612c147c69756cd263f6855a65646672c0e8.tar.gz |
dmidecode: update to 3.0
LICENSE is still GPLv2, with a different physical address for the FSF.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/dmidecode/dmidecode_3.0.bb')
-rw-r--r-- | meta/recipes-devtools/dmidecode/dmidecode_3.0.bb | 21 |
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 @@ +SUMMARY = "DMI (Desktop Management Interface) table related utilities" +HOMEPAGE = "http://www.nongnu.org/dmidecode/" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/dmidecode/${BP}.tar.xz" + +COMPATIBLE_HOST = "(i.86|x86_64|aarch64|arm|powerpc|powerpc64).*-linux" + +do_install() { + oe_runmake DESTDIR="${D}" install +} + +do_unpack_extra() { + sed -i -e '/^prefix/s:/usr/local:${exec_prefix}:' ${S}/Makefile +} +addtask unpack_extra after do_unpack before do_patch + +SRC_URI[md5sum] = "281ee572d45c78eca73a14834c495ffd" +SRC_URI[sha256sum] = "7ec35bb193729c1d593a1460b59d82d24b89102ab23fd0416e6cf4325d077e45" + |