From patchwork Mon Jul 28 07:50:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: christian.braunersorensen@prevas.dk X-Patchwork-Id: 374107 X-Patchwork-Delegate: kiho@prevas.dk Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hugin.dotsrc.org (hugin.dotsrc.org [IPv6:2001:878:346::102]) by ozlabs.org (Postfix) with ESMTP id F404814013F for ; Mon, 28 Jul 2014 17:48:37 +1000 (EST) Received: from hugin.dotsrc.org (localhost [127.0.0.1]) by hugin.dotsrc.org (Postfix) with ESMTP id 0D2B93FDB3 for ; Mon, 28 Jul 2014 09:48:35 +0200 (CEST) X-Original-To: dev@oe-lite.org Delivered-To: dev@oe-lite.org Received: from mail01.prevas.se (mail01.prevas.se [62.95.78.3]) by hugin.dotsrc.org (Postfix) with ESMTPS id 7EEBD3FB64 for ; Mon, 28 Jul 2014 09:48:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=prevas.dk; i=@prevas.dk; l=1848; q=dns/txt; s=ironport1; t=1406533713; x=1438069713; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=YG4j5Tv09khPXp5l2RMb6PRh/4NvSBss9UrkHG87yns=; b=hCQodrSqQUYqWih8Ogju9HfNlmb36OMnIKNkmyGWwZfHbE9FDcYmXc7N o1JeVkIJI2gZ0eAPftU+vaqCDkgVd29Zhl96BpwTYT5w8dGCQaoQUY2xK fwtRHrEQ1AOJlOecCbZC+Oo1/gYr3mBwkYwvIwmGXFEf38olSl01cWQne 0=; X-IronPort-AV: E=Sophos;i="5.01,747,1400018400"; d="scan'208";a="4932838" Received: from vmprevas3.prevas.se (HELO smtp.prevas.se) ([172.16.8.103]) by ironport1.prevas.se with ESMTP/TLS/AES128-SHA; 28 Jul 2014 09:48:33 +0200 Received: from cbs-Latitude-E6540.prevas.se (172.16.11.11) by smtp.prevas.se (172.16.8.105) with Microsoft SMTP Server (TLS) id 14.2.347.0; Mon, 28 Jul 2014 09:48:32 +0200 From: To: Subject: [PATCH 1/5] powertop: Add recipe for powertop (2.5) Date: Mon, 28 Jul 2014 09:50:49 +0200 Message-ID: <5d63c392b8a2ab952105fe845527f99a3ed04809.1406533543.git.christian.braunersorensen@prevas.dk> X-Mailer: git-send-email 2.0.2 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [172.16.11.11] X-BeenThere: dev@oe-lite.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: OE-lite development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dev-bounces@oe-lite.org Errors-To: dev-bounces@oe-lite.org From: Christian Sørensen Signed-off-by: Christian Sørensen --- recipes/powertop/powertop_2.5.oe | 23 +++++++++++++++++++++++ recipes/powertop/powertop_2.5.oe.sig | 1 + 2 files changed, 24 insertions(+) create mode 100644 recipes/powertop/powertop_2.5.oe create mode 100644 recipes/powertop/powertop_2.5.oe.sig diff --git a/recipes/powertop/powertop_2.5.oe b/recipes/powertop/powertop_2.5.oe new file mode 100644 index 0000000..e8c007a --- /dev/null +++ b/recipes/powertop/powertop_2.5.oe @@ -0,0 +1,23 @@ +SUMMARY = "Power usage tool" +DESCRIPTION = "Linux tool to diagnose issues with power consumption and power management." +HOMEPAGE = "http://01.org/powertop/" +BUGTRACKER = "http://bugzilla.lesswatts.org/" +LICENSE = "GPL-2.0" + +POWERTOP_COMMON_DEPENDS = "libncurses libnl-3 libnl-genl-3 libnl-nf-3 \ + libnl-nf-3 libnl-route-3 libpci libpthread libstdc++ libm" +DEPENDS = "${POWERTOP_COMMON_DEPENDS} libpci-dev" + +inherit autotools-autoreconf gettext pkgconfig c++ + +SRC_URI = "https://github.com/fenrus75/powertop/archive/v${PV}.tar.gz" + +# we do not want libncursesw if we can +do_configure[prefuncs] += "do_configure_ncurses_fixup" +do_configure_ncurses_fixup() { + # configure.ac checks for delwin() in "ncursesw ncurses" so let's drop first one + sed -i -e "s/ncursesw//g" ${S}/configure.ac +} + +DEPENDS_${PN} += "${POWERTOP_COMMON_DEPENDS} libgcc-s libc" +RDEPENDS_${PN} += "${POWERTOP_COMMON_DEPENDS} libgcc-s libc" diff --git a/recipes/powertop/powertop_2.5.oe.sig b/recipes/powertop/powertop_2.5.oe.sig new file mode 100644 index 0000000..deecd61 --- /dev/null +++ b/recipes/powertop/powertop_2.5.oe.sig @@ -0,0 +1 @@ +e4136b330b7227381c3a5a45f8ef5d49104a67cf v2.5.tar.gz