blob: 4c165560d16e49b0222af64885327a9d699ed748 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "DMI (Desktop Management Interface) table related utilities"
2HOMEPAGE = "http://www.nongnu.org/dmidecode/"
3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833"
5
6SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/dmidecode/${BP}.tar.bz2"
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] = "a406f3cbb27736491698697beeddb781"
20SRC_URI[sha256sum] = "913ff3055d563a62a420789b8ee33b038de9afa18ea61254760ddf8ab87a5088"