Return-Path: Received: from tx2outboundpool.messaging.microsoft.com (tx2ehsobe001.messaging.microsoft.com [65.55.88.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 52BE4E00348 for ; Thu, 29 Nov 2012 11:15:56 -0800 (PST) Received: from mail66-tx2-R.bigfish.com (10.9.14.248) by TX2EHSOBE003.bigfish.com (10.9.40.23) with Microsoft SMTP Server id 14.1.225.23; Thu, 29 Nov 2012 19:15:55 +0000 Received: from mail66-tx2 (localhost [127.0.0.1]) by mail66-tx2-R.bigfish.com (Postfix) with ESMTP id 6504B340345 for ; Thu, 29 Nov 2012 19:15:55 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 3 X-BigFish: VS3(zzzz1de0h1202h1d1ah1d2ah1082kzz17326ah8275bh8275dhz2dh2a8h668h839hd24he5bhf0ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1504h1537h162dh1631h1155h) Received: from mail66-tx2 (localhost.localdomain [127.0.0.1]) by mail66-tx2 (MessageSwitch) id 1354216553708274_7544; Thu, 29 Nov 2012 19:15:53 +0000 (UTC) Received: from TX2EHSMHS031.bigfish.com (unknown [10.9.14.249]) by mail66-tx2.bigfish.com (Postfix) with ESMTP id 9A21D4A005B for ; Thu, 29 Nov 2012 19:15:53 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by TX2EHSMHS031.bigfish.com (10.9.99.131) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 29 Nov 2012 19:15:53 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-005.039d.mgd.msft.net (10.84.1.17) with Microsoft SMTP Server (TLS) id 14.2.318.3; Thu, 29 Nov 2012 19:15:53 +0000 Received: from right.am.freescale.net (right.am.freescale.net [10.82.176.228]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id qATJFpu6013610 for ; Thu, 29 Nov 2012 12:15:52 -0700 From: Matthew McClintock To: Date: Thu, 29 Nov 2012 13:15:28 -0600 Message-ID: <1354216551-13932-5-git-send-email-msm@freescale.com> X-Mailer: git-send-email 1.7.9.7 In-Reply-To: <1354216551-13932-1-git-send-email-msm@freescale.com> References: <1354216551-13932-1-git-send-email-msm@freescale.com> MIME-Version: 1.0 X-OriginatorOrg: freescale.com Subject: [PATCH 04/27] lm_sensors: added recipe for v3.3.2 X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Nov 2012 19:15:56 -0000 Content-Type: text/plain From: Zhenhua Luo the patch is generated based on http://patches.openembedded.org/patch/27213/ which is submitted by Jackie Huang * 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 --- .../lm_sensors/lmsensors-apps_3.3.2.bb | 48 ++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb 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 @@ +SUMMARY = "A hardware health monitoring package for Linux" +DESCRIPTION = "Lm-sensors is a hardware health monitoring package for Linux. \ + It allows you to access information from temperature, voltage, \ + and fan speed sensors." +HOMEPAGE = "http://www.lm-sensors.org/" +DEPENDS = "sysfsutils virtual/libiconv \ + bison-native flex-native" +LICENSE = "GPLv2 & LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ + file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c" + +PR = "r1" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +SRC_URI = "http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-${PV}.tar.bz2" + +SRC_URI[md5sum] = "f357ba00b080ab102a170f7bf8bb2578" +SRC_URI[sha256sum] = "f13dd885406841a7352ccfb8b9ccb23c4c057abe3de4258da5444c149a9e3ae1" + +S = "${WORKDIR}/lm_sensors-${PV}" + +EXTRA_OEMAKE = 'LINUX=${STAGING_KERNEL_DIR} EXLDFLAGS="${LDFLAGS}" \ + MACHINE=${TARGET_ARCH} PREFIX=${prefix} CC="${CC}" \ + AR="${AR}" MANDIR=${mandir}' + +do_compile() { + oe_runmake user PROG_EXTRA=sensors +} + +do_install() { + oe_runmake user_install DESTDIR=${D} +} + +PACKAGES =+ "libsensors libsensors-dev libsensors-staticdev libsensors-dbg libsensors-doc" +PACKAGES =+ "lmsensors-sensors lmsensors-sensors-dbg lmsensors-sensors-doc" +PACKAGES =+ "lmsensors-scripts" + +FILES_lmsensors-scripts = "${bindir}/*.pl ${bindir}/ddcmon ${sbindir}/fancontrol* ${sbindir}/pwmconfig ${sbindir}/sensors-detect" +RDEPENDS_lmsensors-scripts += "lmsensors-sensors perl bash" + +FILES_lmsensors-sensors = "${bindir}/sensors ${sysconfdir}" +FILES_lmsensors-sensors-dbg += "${bindir}/.debug/sensors" +FILES_lmsensors-sensors-doc = "${mandir}/man1 ${mandir}/man5" +FILES_libsensors = "${libdir}/libsensors.so.*" +FILES_libsensors-dbg += "${libdir}/.debug" +FILES_libsensors-dev = "${libdir}/libsensors.so ${includedir}" +FILES_libsensors-staticdev = "${libdir}/libsensors.a" +FILES_libsensors-doc = "${mandir}/man3" -- 1.7.9.7