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