ssuominen    14/07/13 14:04:14

  Modified:             ChangeLog
  Added:                cpupower-3.15.ebuild
  Log:
  Version bump wrt #517022 by "holgersson"
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
4868F14D)

Revision  Changes    Path
1.19                 sys-power/cpupower/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/cpupower/ChangeLog?rev=1.19&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/cpupower/ChangeLog?rev=1.19&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/cpupower/ChangeLog?r1=1.18&r2=1.19

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-power/cpupower/ChangeLog,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- ChangeLog   29 Jun 2014 22:10:19 -0000      1.18
+++ ChangeLog   13 Jul 2014 14:04:14 -0000      1.19
@@ -1,6 +1,11 @@
 # ChangeLog for sys-power/cpupower
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/cpupower/ChangeLog,v 1.18 
2014/06/29 22:10:19 steev Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/cpupower/ChangeLog,v 1.19 
2014/07/13 14:04:14 ssuominen Exp $
+
+*cpupower-3.15 (13 Jul 2014)
+
+  13 Jul 2014; Samuli Suominen <ssuomi...@gentoo.org> +cpupower-3.15.ebuild:
+  Version bump wrt #517022 by "holgersson"
 
   29 Jun 2014; Steev Klimaszewski <st...@gentoo.org> cpupower-3.14.ebuild:
   Add ~arm keyword wrt bug #512044



1.1                  sys-power/cpupower/cpupower-3.15.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/cpupower/cpupower-3.15.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/cpupower/cpupower-3.15.ebuild?rev=1.1&content-type=text/plain

Index: cpupower-3.15.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-power/cpupower/cpupower-3.15.ebuild,v 
1.1 2014/07/13 14:04:14 ssuominen Exp $

EAPI=5
inherit multilib toolchain-funcs

DESCRIPTION="Shows and sets processor power related values"
HOMEPAGE="http://www.kernel.org/";
SRC_URI="mirror://kernel/linux/kernel/v3.x/linux-${PV}.tar.xz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="cpufreq_bench debug nls"

# File collision w/ headers of the deprecated cpufrequtils
RDEPEND="sys-apps/pciutils
        !<sys-apps/linux-misc-apps-3.6-r2
        !sys-power/cpufrequtils"
DEPEND="${RDEPEND}
        virtual/os-headers
        virtual/pkgconfig
        nls? ( sys-devel/gettext )"

S=${WORKDIR}/linux-${PV}/tools/power/${PN}

pkg_setup() {
        myemakeargs=(
                DEBUG=$(usex debug true false)
                V=1
                CPUFREQ_BENCH=$(usex cpufreq_bench true false)
                NLS=$(usex nls true false)
                docdir=/usr/share/doc/${PF}/${PN}
                mandir=/usr/share/man
                libdir=/usr/$(get_libdir)
                AR="$(tc-getAR)"
                CC="$(tc-getCC)"
                LD="$(tc-getCC)"
                STRIP=true
                LDFLAGS="${LDFLAGS}"
                OPTIMIZATION="${CFLAGS}"
                )
}

src_prepare() {
        # -Wl,--as-needed compat
        local libs="-lcpupower -lrt $($(tc-getPKG_CONFIG) --libs-only-l libpci)"
        sed -i \
                -e "/$libs/{ s,${libs},,g; s,\$, ${libs},g;}" \
                -e "s:-O1 -g::" \
                Makefile || die
}

src_compile() {
        emake "${myemakeargs[@]}"
}

src_install() {
        emake DESTDIR="${D}" "${myemakeargs[@]}" install
        dodoc README ToDo

        newconfd "${FILESDIR}"/conf.d-r2 ${PN}
        newinitd "${FILESDIR}"/init.d-r4 ${PN}
}




Reply via email to