diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-06-24 05:29:04 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-06-24 05:29:04 +0000 |
commit | 5557d8f8cfefdccb0e30bebc6679794caec02754 (patch) | |
tree | bb51a3e255bb5cfeb54c68c146ef2fa5c01769ec /sys-power | |
parent | USE flag change qt->qt3/qt4 bug #137785 (diff) | |
download | historical-5557d8f8cfefdccb0e30bebc6679794caec02754.tar.gz historical-5557d8f8cfefdccb0e30bebc6679794caec02754.tar.bz2 historical-5557d8f8cfefdccb0e30bebc6679794caec02754.zip |
Fix cleanup ebuild #137576 by Tristan Heaven.
Package-Manager: portage-2.1.1_pre1-r1
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/athcool/ChangeLog | 8 | ||||
-rw-r--r-- | sys-power/athcool/Manifest | 35 | ||||
-rw-r--r-- | sys-power/athcool/athcool-0.3.11.ebuild | 18 | ||||
-rw-r--r-- | sys-power/athcool/files/athcool-0.3.11-build.patch | 32 |
4 files changed, 72 insertions, 21 deletions
diff --git a/sys-power/athcool/ChangeLog b/sys-power/athcool/ChangeLog index cbe04937bd0c..157b50291cdf 100644 --- a/sys-power/athcool/ChangeLog +++ b/sys-power/athcool/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-power/athcool -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/athcool/ChangeLog,v 1.3 2005/06/27 13:19:22 lisa Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/athcool/ChangeLog,v 1.4 2006/06/24 05:29:04 vapier Exp $ + + 24 Jun 2006; Mike Frysinger <vapier@gentoo.org> + +files/athcool-0.3.11-build.patch, athcool-0.3.11.ebuild: + Fix cleanup ebuild #137576 by Tristan Heaven. *athcool-0.3.11 (27 Jun 2005) diff --git a/sys-power/athcool/Manifest b/sys-power/athcool/Manifest index 896741893cce..5122efdd548b 100644 --- a/sys-power/athcool/Manifest +++ b/sys-power/athcool/Manifest @@ -1,25 +1,34 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 69ea019bf029bc156899893479bbbbc5 ChangeLog 2016 -RMD160 1208293fe50f86eb2bd244858d87a9c756b4ad38 ChangeLog 2016 -SHA256 566c655e4f4f0958583fb5b5121921cc8ad4ca82b189e2c07f5c247353334ac8 ChangeLog 2016 -MD5 e0a00249c47472e7eb6365a1257c5494 athcool-0.3.11.ebuild 1049 -RMD160 919498a36b99afd878fa1239b383038bcb4618c5 athcool-0.3.11.ebuild 1049 -SHA256 b3de49cd6f9c1dc9324637fa18d872e3e845414fe6836d32cc899edb62746dae athcool-0.3.11.ebuild 1049 +AUX athcool 316 RMD160 23fdc65244ba404633fb123657f98a4a8991e435 SHA1 691b7321e3c7645a30602d819b6d606f5ff11141 SHA256 8c3e01fada720a317a57fb1fa24f059f05826f1e50c4ccc5617c70f5fc464b2d MD5 7976600589a68e11a2ac3e8e6bd94a97 files/athcool 316 RMD160 23fdc65244ba404633fb123657f98a4a8991e435 files/athcool 316 SHA256 8c3e01fada720a317a57fb1fa24f059f05826f1e50c4ccc5617c70f5fc464b2d files/athcool 316 -MD5 e8e08f0fe82f72b40e89f3bbb4329ce2 files/digest-athcool-0.3.11 65 -RMD160 4e26cef9ead4b1716393fdf152dff0cc17dfa6d4 files/digest-athcool-0.3.11 65 -SHA256 6fb9c88c05abe6402e1ba98085b6a8f4bb10b7a1fc2d7c689bb30f789efe59ee files/digest-athcool-0.3.11 65 +AUX athcool-0.3.11-build.patch 893 RMD160 e103d57287f90731e07b2d0f5c5ab6ed59fde92e SHA1 8b0c304a506e3ecb55275ce1b38643a773ea3038 SHA256 5768255172a54e8c1ca1bae00d4420a68fbe9de7fd1c7722617c36b1026f660f +MD5 95bde25e191ebbac67ea4e922d0b5106 files/athcool-0.3.11-build.patch 893 +RMD160 e103d57287f90731e07b2d0f5c5ab6ed59fde92e files/athcool-0.3.11-build.patch 893 +SHA256 5768255172a54e8c1ca1bae00d4420a68fbe9de7fd1c7722617c36b1026f660f files/athcool-0.3.11-build.patch 893 +DIST athcool-0.3.11.tar.gz 20761 +EBUILD athcool-0.3.11.ebuild 1133 RMD160 9e2f41f989a4aa6523bc04e566b2b9445fb13800 SHA1 97fb792cb3f0d71f52b80de1f3a40ebd65ed2672 SHA256 7428da490f749ca0a71a3b5530f08703c3e39eb9d916139a18b79ba0196262b7 +MD5 32eab4edf110afbc4e38768a3eed8504 athcool-0.3.11.ebuild 1133 +RMD160 9e2f41f989a4aa6523bc04e566b2b9445fb13800 athcool-0.3.11.ebuild 1133 +SHA256 7428da490f749ca0a71a3b5530f08703c3e39eb9d916139a18b79ba0196262b7 athcool-0.3.11.ebuild 1133 +MISC ChangeLog 2177 RMD160 b95aeaffab48b8a8c41f8cad0c54f17a2d14cfd7 SHA1 a4217bda0da8da06296e4b12b8eb27c645a9d248 SHA256 45e2569716b0085f8429b2239e0e21d9b54dc621a3670ac6b7fc6a7a75a0fb6b +MD5 424e398dc5477e5e9d02b874d13b9dbb ChangeLog 2177 +RMD160 b95aeaffab48b8a8c41f8cad0c54f17a2d14cfd7 ChangeLog 2177 +SHA256 45e2569716b0085f8429b2239e0e21d9b54dc621a3670ac6b7fc6a7a75a0fb6b ChangeLog 2177 +MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 metadata.xml 164 +MD5 e8e08f0fe82f72b40e89f3bbb4329ce2 files/digest-athcool-0.3.11 65 +RMD160 4e26cef9ead4b1716393fdf152dff0cc17dfa6d4 files/digest-athcool-0.3.11 65 +SHA256 6fb9c88c05abe6402e1ba98085b6a8f4bb10b7a1fc2d7c689bb30f789efe59ee files/digest-athcool-0.3.11 65 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2.1 (GNU/Linux) +Version: GnuPG v1.4.3 (GNU/Linux) -iD8DBQFD9sH/2+ySkm8kpY0RAhMzAJwJ5wHtp62QD1KoMdLntXL8k7vKBgCfcdKg -95QI4nWBAuRZh/Cw3FEJkf4= -=k+Bv +iD8DBQFEnM7iamhnQswr0vIRAhNXAJ98XHoPr3LQJb2UPRoyL5//pc6twwCfQmf+ +oB54Egw0HuBWr7vmnX2V0AY= +=7PQ2 -----END PGP SIGNATURE----- diff --git a/sys-power/athcool/athcool-0.3.11.ebuild b/sys-power/athcool/athcool-0.3.11.ebuild index bf13ee273a5f..7f2e7ce943a0 100644 --- a/sys-power/athcool/athcool-0.3.11.ebuild +++ b/sys-power/athcool/athcool-0.3.11.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/athcool/athcool-0.3.11.ebuild,v 1.2 2006/02/18 06:43:01 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/athcool/athcool-0.3.11.ebuild,v 1.3 2006/06/24 05:29:04 vapier Exp $ + +inherit eutils DESCRIPTION="small utility to toggle Powersaving mode for AMD Athlon/Duron processors" HOMEPAGE="http://members.jcom.home.ne.jp/jacobi/linux/softwares.html#athcool" @@ -13,20 +15,24 @@ IUSE="" DEPEND="sys-apps/pciutils" -src_compile() { - emake CFLAGS="${CFLAGS}" || die +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-build.patch } src_install() { - einstall || die + emake install DESTDIR="${D}" || die doinitd "${FILESDIR}"/athcool dodoc README ChangeLog } pkg_postinst() { - ewarn "WARNING: Depending on your motherboard and/or hardware components, enabling powersaving mode may cause:" + ewarn "WARNING: Depending on your motherboard and/or hardware components," + ewarn "enabling powersaving mode may cause:" ewarn " * noisy or distorted sound playback" ewarn " * a slowdown in harddisk performance" ewarn " * system locks or instability" - ewarn "If you met those problems, you should not use athcool. Please use athcool AT YOUR OWN RISK!" + ewarn "If you met those problems, you should not use athcool. Please use" + ewarn "athcool AT YOUR OWN RISK!" } diff --git a/sys-power/athcool/files/athcool-0.3.11-build.patch b/sys-power/athcool/files/athcool-0.3.11-build.patch new file mode 100644 index 000000000000..e29f0a2e9b39 --- /dev/null +++ b/sys-power/athcool/files/athcool-0.3.11-build.patch @@ -0,0 +1,32 @@ +--- Makefile.orig 2006-06-24 01:30:31.000000000 -0400 ++++ Makefile 2006-06-24 01:31:17.000000000 -0400 +@@ -14,10 +14,10 @@ + SRCS = athcool.c scanpci.c + OBJS = $(SRCS:.c=.o) + +-CC = gcc ++CC ?= gcc + RM = rm -f +-CFLAGS = -O2 -Wall +-DEFS = -I. -I$(includedir) -DPACKAGE=\"$(PACKAGE)\" -DVERSION=\"$(VERSION)\" ++CFLAGS += -Wall ++DEFS = -I. -DPACKAGE=\"$(PACKAGE)\" -DVERSION=\"$(VERSION)\" + #DEFS += -DENABLE_FORCEID=1 + #DEFS += -DDISABLE_WRITE_REG=1 + LIBS = -lpci +@@ -30,13 +30,13 @@ + all: $(PACKAGE) + + $(PACKAGE): $(OBJS) +- $(CC) $(CFLAGS) $(OBJS) $(LIBS) -o $@ ++ $(CC) $(CFLAGS) $(OBJS) $(LIBS) -o $@ $(LDFLAGS) + + install: install-program install-man # install-script + + install-program: + [ -d $(sbindir) ] || install -m 755 -d $(sbindir) +- install -s $(PACKAGE) $(sbindir) ++ install $(PACKAGE) $(sbindir) + + install-man: + [ -d $(mandir)/man8 ] || install -m 755 -d $(mandir)/man8 |