summaryrefslogtreecommitdiff
path: root/recipes/dmidecode/dmidecode_2.9.bb
blob: 21861204988f9c79fd9a5ebae1d025c0e054649c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DESCRIPTION = "DMI (Desktop Management Interface) table related utilities"
HOMEPAGE = "http://www.nongnu.org/dmidecode/"
LICENSE = "GPLv2"
PR = "r0"

SRC_URI = "http://savannah.nongnu.org/download/dmidecode/${P}.tar.bz2"

COMPATIBLE_HOST = "i.86.*-linux"

do_unpack_extra() {
	sed -i \
	    -e '/^prefix/s:/usr/local:/usr:' \
	    Makefile
}
addtask unpack_extra after do_unpack before do_patch

do_install() {
	oe_runmake DESTDIR="${D}" install
}