diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-28 04:06:07 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-28 04:06:07 +0000 |
commit | ccf84bcd604130256d1377cd58f0a634ae6ee20f (patch) | |
tree | f42a709e0c7805183f5680883bc76dc935b7a0cc /sys-power/athcool/athcool-0.3.12.ebuild | |
parent | c85a90f90521c7e11d618b527d6630cc64cecbd4 (diff) |
gentoo resync : 28.12.2017
Diffstat (limited to 'sys-power/athcool/athcool-0.3.12.ebuild')
-rw-r--r-- | sys-power/athcool/athcool-0.3.12.ebuild | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/sys-power/athcool/athcool-0.3.12.ebuild b/sys-power/athcool/athcool-0.3.12.ebuild index b9ed25616659..bd826f25b0f5 100644 --- a/sys-power/athcool/athcool-0.3.12.ebuild +++ b/sys-power/athcool/athcool-0.3.12.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="3" +EAPI=6 -inherit eutils toolchain-funcs +inherit toolchain-funcs DESCRIPTION="small utility to toggle Powersaving mode for AMD Athlon/Duron processors" HOMEPAGE="http://members.jcom.home.ne.jp/jacobi/linux/softwares.html#athcool" @@ -17,18 +17,15 @@ IUSE="" DEPEND="sys-apps/pciutils" RDEPEND="" -pkg_setup() { - tc-export CC -} +PATCHES=( "${FILESDIR}"/${PN}-0.3.11-build.patch ) -src_prepare() { - epatch "${FILESDIR}"/${PN}-0.3.11-build.patch +src_configure() { + tc-export CC } src_install() { - emake install DESTDIR="${D}" || die + default doinitd "${FILESDIR}"/athcool - dodoc README ChangeLog } pkg_postinst() { |