diff options
author | Elias Probst <mail@eliasprobst.eu> | 2016-08-24 12:17:52 +0200 |
---|---|---|
committer | Göktürk Yüksek <gokturk@gentoo.org> | 2016-11-20 11:53:49 -0500 |
commit | 0d66aec25c7d49561549007eec73e17bbe1d997b (patch) | |
tree | 3f9c9131fc898bf87faa843274f9a233e7eb01f7 /sys-power | |
parent | net-news/liferea: version bump, eapi 6 bump, removed gconf dependency. (diff) | |
download | gentoo-0d66aec25c7d49561549007eec73e17bbe1d997b.tar.gz gentoo-0d66aec25c7d49561549007eec73e17bbe1d997b.tar.bz2 gentoo-0d66aec25c7d49561549007eec73e17bbe1d997b.zip |
sys-power/powertop: generate version information for SCM build
Also:
- update header date
- migrate to EAPI=6 and git-r3 eclass
Package-Manager: portage-2.2.28
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/powertop/powertop-9999.ebuild | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sys-power/powertop/powertop-9999.ebuild b/sys-power/powertop/powertop-9999.ebuild index a53eb03cb036..0b5a0baf5054 100644 --- a/sys-power/powertop/powertop-9999.ebuild +++ b/sys-power/powertop/powertop-9999.ebuild @@ -1,13 +1,13 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI="5" +EAPI="6" inherit eutils linux-info if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://github.com/fenrus75/powertop.git" - inherit git-2 autotools + inherit git-r3 autotools SRC_URI="" else SRC_URI="https://01.org/sites/default/files/downloads/${PN}/${P}.tar.gz" @@ -37,8 +37,6 @@ RDEPEND=" virtual/libintl " -DOCS=( TODO README ) - pkg_setup() { CONFIG_CHECK=" ~X86_MSR @@ -95,10 +93,11 @@ pkg_setup() { } src_prepare() { + default if [[ ${PV} == "9999" ]] ; then + chmod +x scripts/version || die "Failed to make 'scripts/version' executable" + scripts/version || die "Failed to extract version information" eautoreconf - else - default fi } |