summaryrefslogtreecommitdiff
path: root/packages/lm_sensors/lmsensors-apps_2.10.1.bb
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2007-08-27 10:49:45 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-08-27 10:49:45 +0000
commit2ce45e1978c5b30bd41865ec03386f0c35f7da2c (patch)
treeb5efc9281148ff79b7d96751024d3044d5414166 /packages/lm_sensors/lmsensors-apps_2.10.1.bb
parenteea79835b871156bc5b63cd5d42fd648425a2425 (diff)
disapproval of revision '11e7fd7a1d2b01efd7be20943672ee11977561e2'
Diffstat (limited to 'packages/lm_sensors/lmsensors-apps_2.10.1.bb')
-rw-r--r--packages/lm_sensors/lmsensors-apps_2.10.1.bb32
1 files changed, 32 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..bbe484f74e
--- /dev/null
+++ b/packages/lm_sensors/lmsensors-apps_2.10.1.bb
@@ -0,0 +1,32 @@
+# 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 = "libsysfs virtual/libiconv"
+LICENSE = "GPL"
+PR = "r1"
+
+SRC_URI = "http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-${PV}.tar.gz \
+ file://iconv.patch;patch=1 \
+ 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"