summaryrefslogtreecommitdiff
path: root/packages/dmidecode/dmidecode_2.9.bb
blob: cc4652479926ebfede1374a31c01d4378dee5e1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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"

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
}