summaryrefslogtreecommitdiff
path: root/sys-power/athcool
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-28 04:06:07 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-28 04:06:07 +0000
commitccf84bcd604130256d1377cd58f0a634ae6ee20f (patch)
treef42a709e0c7805183f5680883bc76dc935b7a0cc /sys-power/athcool
parentc85a90f90521c7e11d618b527d6630cc64cecbd4 (diff)
gentoo resync : 28.12.2017
Diffstat (limited to 'sys-power/athcool')
-rw-r--r--sys-power/athcool/Manifest4
-rw-r--r--sys-power/athcool/athcool-0.3.12.ebuild17
-rw-r--r--sys-power/athcool/files/athcool-0.3.11-build.patch4
3 files changed, 11 insertions, 14 deletions
diff --git a/sys-power/athcool/Manifest b/sys-power/athcool/Manifest
index 5e26f2c394a0..0129e515b44a 100644
--- a/sys-power/athcool/Manifest
+++ b/sys-power/athcool/Manifest
@@ -1,5 +1,5 @@
AUX athcool 180 BLAKE2B 8cdc96f73da9922eceb650a60074e0cdb9b08d63cd9f845d9ec2478e0c18bfd2f567e5fd8742543f0059668dce0e90c2a78975fc1f1f582b2667c07770999e10 SHA512 e26d2cd77371b8cf2a1ff888d2d1fddc7718159525556cc35f5c752d13677a092ee9fc46e71b08814dd923d26925b27bcbfac53c537502949966e549bfd89e35
-AUX athcool-0.3.11-build.patch 853 BLAKE2B 6785f8df8e9599993a4e4c5f203ee19b62fdcd0ee95ad84b7dbaca53af536eedb07a45b203f8b074cfc6b94dbb011a40cf25118dbc10237e008f7f9df9460240 SHA512 a6bf284608921d55109183435a33a742150fe1c3f0f30efe9417c89c1974fe8e66f499846b61f1963330e8a1c05118e8e0847de92ebeb419e95e4ccf80d43838
+AUX athcool-0.3.11-build.patch 857 BLAKE2B 7e2dfc463d79221062a2c30acc37ac0eda850edbdbff5f11509260604a0e360d6dc6c288ce1c27cb510ddc2c4342f4cf3d7980cda767c2d7ddb263c9045b2b88 SHA512 aa7e158511194a21299556f9d19a5078d636a5cb7bd92852ccac72709819eb97bfcf610cba9a07caeffab6496435cd457680787f561c1054d9987c3ecd6f1600
DIST athcool-0.3.12.tar.gz 18384 BLAKE2B 3b1492a20a3797c3701518704e135feac64e7022f5aceca303b9391fa59331501e52547076823d32d6ce89cf0c4e0bc8c5bd5ef0b158d5518b50ebc245a3b231 SHA512 f6a8ee2edaf1c1e1c222d7b8a28a86478c23fb946ded1af6c1ce83c35e8f056e3a54e047d0ff5c644ff2fc892cf9e19c08be0dd17ca6195cc6d612f80367b223
-EBUILD athcool-0.3.12.ebuild 1118 BLAKE2B fbe0ff9f44e6990349a53622739931755a61365e4f0d016e8ac63324e3829ecba8911f54a7b5c5c6975e440abe80cd0b67e9d9a86194884ddd5ca80a2d29c02f SHA512 434726cd2e4fa23f20a637fd5dd3f7f7bf5da5c358a41deab9fce45b8eaaec1ca0afb2666f4ed3f24ee2bf2fda5ec338d6f0e6ced55f286bb649b4e1a501d4f5
+EBUILD athcool-0.3.12.ebuild 1047 BLAKE2B 11b9447133f5c7112677e1ac4f137838a1e66de07e8a20c6b3e0f43f1cb81dcb5d389f220a52a41a7d2456fe4909f3ffa9e4a10ca46a4c66acb048ff503e424a SHA512 d614eb925cc52def2c714d2af773a397904a7741c6f895bb51e798188211ff350db605edff8f9f80b9cc12ac59e6adb33020c6c2a40bdb5cb74389b16b1b6d32
MISC metadata.xml 253 BLAKE2B 295e9d6d93aaa12af413972e1590c67087801cc09c9aa6b59d4606c0f4106d1dacf2baa9858559083b4c6d91beeef218d0729e8593a33788958da6d2897e8ce2 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555
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() {
diff --git a/sys-power/athcool/files/athcool-0.3.11-build.patch b/sys-power/athcool/files/athcool-0.3.11-build.patch
index 8b8e619dd71f..bcf3a3054142 100644
--- a/sys-power/athcool/files/athcool-0.3.11-build.patch
+++ b/sys-power/athcool/files/athcool-0.3.11-build.patch
@@ -1,5 +1,5 @@
---- Makefile
-+++ Makefile
+--- a/Makefile
++++ b/Makefile
@@ -14,13 +14,13 @@
SRCS = athcool.c scanpci.c
OBJS = $(SRCS:.c=.o)