diff options
author | Zhenhua Luo <b19537@freescale.com> | 2012-09-19 15:06:09 +0800 |
---|---|---|
committer | Matthew McClintock <msm@freescale.com> | 2012-11-13 11:21:49 -0600 |
commit | a85eeb510c74a2c56be31eb4f7e5688343f80dee (patch) | |
tree | 7e5367ba441bdc79b6a01d1b155bead6f9dcbd62 /recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb | |
parent | 64a98336d0f697d4b9e25b0a2fac92910ddae473 (diff) | |
download | meta-fsl-ppc-a85eeb510c74a2c56be31eb4f7e5688343f80dee.tar.gz |
lm_sensors: added recipe for v3.3.2
the patch is generated based on http://patches.openembedded.org/patch/27213/
which is submitted by Jackie Huang <jackie.huang@windriver.com>
* Adapted from the recipe for v3.2.0
* Added MANDIR in EXTRA_OEMAKE instead of the moving operation for
manuals in do_install
* put .a files in _staticdev package
Signed-off-by: Zhenhua Luo <b19537@freescale.com>
Diffstat (limited to 'recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb')
-rw-r--r-- | recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb b/recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb new file mode 100644 index 0000000..57a6f3e --- /dev/null +++ b/recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb | |||
@@ -0,0 +1,48 @@ | |||
1 | SUMMARY = "A hardware health monitoring package for Linux" | ||
2 | DESCRIPTION = "Lm-sensors is a hardware health monitoring package for Linux. \ | ||
3 | It allows you to access information from temperature, voltage, \ | ||
4 | and fan speed sensors." | ||
5 | HOMEPAGE = "http://www.lm-sensors.org/" | ||
6 | DEPENDS = "sysfsutils virtual/libiconv \ | ||
7 | bison-native flex-native" | ||
8 | LICENSE = "GPLv2 & LGPLv2.1" | ||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ | ||
10 | file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c" | ||
11 | |||
12 | PR = "r1" | ||
13 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
14 | |||
15 | SRC_URI = "http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-${PV}.tar.bz2" | ||
16 | |||
17 | SRC_URI[md5sum] = "f357ba00b080ab102a170f7bf8bb2578" | ||
18 | SRC_URI[sha256sum] = "f13dd885406841a7352ccfb8b9ccb23c4c057abe3de4258da5444c149a9e3ae1" | ||
19 | |||
20 | S = "${WORKDIR}/lm_sensors-${PV}" | ||
21 | |||
22 | EXTRA_OEMAKE = 'LINUX=${STAGING_KERNEL_DIR} EXLDFLAGS="${LDFLAGS}" \ | ||
23 | MACHINE=${TARGET_ARCH} PREFIX=${prefix} CC="${CC}" \ | ||
24 | AR="${AR}" MANDIR=${mandir}' | ||
25 | |||
26 | do_compile() { | ||
27 | oe_runmake user PROG_EXTRA=sensors | ||
28 | } | ||
29 | |||
30 | do_install() { | ||
31 | oe_runmake user_install DESTDIR=${D} | ||
32 | } | ||
33 | |||
34 | PACKAGES =+ "libsensors libsensors-dev libsensors-staticdev libsensors-dbg libsensors-doc" | ||
35 | PACKAGES =+ "lmsensors-sensors lmsensors-sensors-dbg lmsensors-sensors-doc" | ||
36 | PACKAGES =+ "lmsensors-scripts" | ||
37 | |||
38 | FILES_lmsensors-scripts = "${bindir}/*.pl ${bindir}/ddcmon ${sbindir}/fancontrol* ${sbindir}/pwmconfig ${sbindir}/sensors-detect" | ||
39 | RDEPENDS_lmsensors-scripts += "lmsensors-sensors perl bash" | ||
40 | |||
41 | FILES_lmsensors-sensors = "${bindir}/sensors ${sysconfdir}" | ||
42 | FILES_lmsensors-sensors-dbg += "${bindir}/.debug/sensors" | ||
43 | FILES_lmsensors-sensors-doc = "${mandir}/man1 ${mandir}/man5" | ||
44 | FILES_libsensors = "${libdir}/libsensors.so.*" | ||
45 | FILES_libsensors-dbg += "${libdir}/.debug" | ||
46 | FILES_libsensors-dev = "${libdir}/libsensors.so ${includedir}" | ||
47 | FILES_libsensors-staticdev = "${libdir}/libsensors.a" | ||
48 | FILES_libsensors-doc = "${mandir}/man3" | ||