summaryrefslogtreecommitdiff
path: root/packages/lm_sensors/lmsensors-apps_2.10.1.bb
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-11-27 16:38:42 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2006-11-27 16:38:42 +0000
commitb8284528d2b7592db25da655b4e41d6d26811c9f (patch)
tree584929bbdb23713ae1e00c153c4cb686d685b7a8 /packages/lm_sensors/lmsensors-apps_2.10.1.bb
parent681e56802a3fd15fbbe2e304a8697046f9d7cdaf (diff)
lmsensors-apps: updated to 2.10.1, dropped older
Diffstat (limited to 'packages/lm_sensors/lmsensors-apps_2.10.1.bb')
-rw-r--r--packages/lm_sensors/lmsensors-apps_2.10.1.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/packages/lm_sensors/lmsensors-apps_2.10.1.bb b/packages/lm_sensors/lmsensors-apps_2.10.1.bb
new file mode 100644
index 0000000000..5902c95195
--- /dev/null
+++ b/packages/lm_sensors/lmsensors-apps_2.10.1.bb
@@ -0,0 +1,30 @@
+# lmsensors-apps .bb build file
+# Copyright (C) 2006, Advanced Micro Devices, Inc. All Rights Reserved
+# Released under the MIT license (see /COPYING)
+
+DESCRIPTION = "Hardware health monitoring applications"
+HOMEPAGE = "http://secure.netroedge.com/~lm78/"
+DEPENDS = "sysfsutils"
+LICENSE = "GPL"
+
+SRC_URI = "http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-${PV}.tar.gz \
+ file://add-sysfs-ldflags.patch;patch=1"
+
+S = "${WORKDIR}/lm_sensors-${PV}"
+
+do_compile() {
+ oe_runmake LINUX=${STAGING_KERNEL_DIR} EXLDFLAGS="${LDFLAGS}" user
+}
+
+APPS = "${S}/prog/dump/i2cdump ${S}/prog/dump/i2cset ${S}/prog/detect/i2cdetect"
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 0755 ${APPS} ${D}${bindir}
+}
+
+PACKAGES="sensors-i2cdump sensors-i2cset sensors-i2cdetect"
+
+FILES_sensors-i2cdump="${bindir}/i2cdump"
+FILES_sensors-i2cset="${bindir}/i2cset"
+FILES_sensors-i2cdetect="${bindir}/i2cdetect"