diff options
Diffstat (limited to 'meta-linaro/recipes-extra/lshw/lshw_02.16.bb')
-rw-r--r-- | meta-linaro/recipes-extra/lshw/lshw_02.16.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-linaro/recipes-extra/lshw/lshw_02.16.bb b/meta-linaro/recipes-extra/lshw/lshw_02.16.bb new file mode 100644 index 0000000..214d2ba --- /dev/null +++ b/meta-linaro/recipes-extra/lshw/lshw_02.16.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | DESCRIPTION = "A small tool to provide detailed information on the hardware \ | ||
2 | configuration of the machine. It can report exact memory configuration, \ | ||
3 | firmware version, mainboard configuration, CPU version and speed, cache \ | ||
4 | configuration, bus speed, etc. on DMI-capable or EFI systems." | ||
5 | SUMMARY = "Hardware lister" | ||
6 | HOMEPAGE = "http://ezix.org/project/wiki/HardwareLiSter" | ||
7 | SECTION = "console/tools" | ||
8 | LICENSE = "GPLv2+" | ||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | ||
10 | DEPENDS = "pciutils \ | ||
11 | usbutils" | ||
12 | COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux" | ||
13 | |||
14 | PR="r1" | ||
15 | |||
16 | SRC_URI="http://ezix.org/software/files/lshw-B.${PV}.tar.gz \ | ||
17 | file://cross-compile.patch" | ||
18 | |||
19 | SRC_URI[md5sum] = "67479167add605e8f001097c30e96d0d" | ||
20 | SRC_URI[sha256sum] = "809882429555b93259785cc261dbff04c16c93d064db5f445a51945bc47157cb" | ||
21 | |||
22 | S="${WORKDIR}/lshw-B.${PV}" | ||
23 | |||
24 | do_compile() { | ||
25 | # build core only - don't ship gui | ||
26 | oe_runmake -C src core | ||
27 | } | ||
28 | |||
29 | do_install() { | ||
30 | oe_runmake install DESTDIR=${D} | ||
31 | # data files provided by dependencies | ||
32 | rm -rf ${D}/usr/share/lshw | ||
33 | } | ||