From patchwork Mon Apr 28 09:34:56 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: 343460 X-Patchwork-Delegate: esben@haabendal.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 [130.225.254.102]) by ozlabs.org (Postfix) with ESMTP id 044FB14008E for ; Tue, 29 Apr 2014 00:44:37 +1000 (EST) Received: from hugin.dotsrc.org (localhost [127.0.0.1]) by hugin.dotsrc.org (Postfix) with ESMTP id A9C303FDA4 for ; Mon, 28 Apr 2014 16:44:34 +0200 (CEST) X-Original-To: dev@oe-lite.org Delivered-To: dev@oe-lite.org Received: from mail02.prevas.se (mail02.prevas.se [62.95.78.10]) by hugin.dotsrc.org (Postfix) with ESMTPS id D69CA3FC89 for ; Mon, 28 Apr 2014 16:44:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=prevas.dk; i=@prevas.dk; l=1848; q=dns/txt; s=ironport2; t=1398696271; x=1430232271; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=vGI81bf6YYCBKkX13sosnCC0B2M+Ecw5D7aiEW+72+w=; b=IkrfdyHhVE7PtEU6pTene/J3r0tR9jSxFp5E8lNqLyzbJzN2swIJHfEn CPFFs6ohdNR+7q+pdIEG6js4SqnmWbWmPJ35NT83UZeMwv++XvebH2NVD 3mxNFL8DoHF8Jk1iOU4dib6pL07Pg7AznA+ApkZPgKtof5HRdS0KC0vp4 A=; X-IronPort-AV: E=Sophos;i="4.97,942,1389740400"; d="scan'208";a="535027" Received: from vmprevas3.prevas.se (HELO smtp.prevas.se) ([172.16.8.103]) by ironport2.prevas.se with ESMTP/TLS/AES128-SHA; 28 Apr 2014 11:35:06 +0200 Received: from localhost (172.16.10.102) by smtp.prevas.se (172.16.8.105) with Microsoft SMTP Server id 14.2.347.0; Mon, 28 Apr 2014 11:35:05 +0200 Received: by localhost (Postfix, from userid 30007) id BB419681EB8; Mon, 28 Apr 2014 09:35:05 +0000 (UTC) From: To: Subject: [PATCH 3/3] powertop: Add recipe for powertop (2.5) Date: Mon, 28 Apr 2014 09:34:56 +0000 Message-ID: <608cc1a46214d21c863d5448d0088f0ca26a952e.1398677647.git.christian.braunersorensen@prevas.dk> X-Mailer: git-send-email 1.8.4 In-Reply-To: References: MIME-Version: 1.0 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