summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-05-01 13:42:40 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-05-01 13:42:40 +0000
commit7fce8c35ebc8847aa29ffdd87a96a9b7492e7bc2 (patch)
treec8621d74baaa75017a8552207c3ccc046ecc4037 /app-laptop/hdapsd
parentFix problem with locale variants, bug 365365 (diff)
downloadhistorical-7fce8c35ebc8847aa29ffdd87a96a9b7492e7bc2.tar.gz
historical-7fce8c35ebc8847aa29ffdd87a96a9b7492e7bc2.tar.bz2
historical-7fce8c35ebc8847aa29ffdd87a96a9b7492e7bc2.zip
Convert from built_with_use to has_version and clean up
Package-Manager: portage-2.2.0_alpha30/cvs/Linux x86_64
Diffstat (limited to 'app-laptop/hdapsd')
-rw-r--r--app-laptop/hdapsd/Manifest12
-rw-r--r--app-laptop/hdapsd/hdapsd-20090401.ebuild21
2 files changed, 20 insertions, 13 deletions
diff --git a/app-laptop/hdapsd/Manifest b/app-laptop/hdapsd/Manifest
index 8a61b6d1f3c3..dff6566f1573 100644
--- a/app-laptop/hdapsd/Manifest
+++ b/app-laptop/hdapsd/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX hdaps-Z60m.patch 352 RMD160 963be45785af235fa3e0d74d68d2e75fad663396 SHA1 317de158fdacdd379a94b0652b54ed48525a71bc SHA256 05b0def085f637bae8561a825d7ff3ffc51bdd33609b1520e2d30aa807f00016
AUX hdapsd.conf 321 RMD160 5bb760d34bca3f5a12aeb057b78de7e2a9065bc3 SHA1 ade013dab6278a385b4658aad7e871b743380689 SHA256 22e1acf385427052a12858db005fd73d42d9f6818fb253b032cd326101df2e34
AUX hdapsd.init 1474 RMD160 eb95d5cab723e404a33a5a982bb6be14e232925f SHA1 7cb50b75884f85dee916d7209529fdf0859d8bab SHA256 cfb13ec173f61da633febb2442b6db6be5ba0433f4b2cff0c370cce916e150d7
@@ -8,6 +11,13 @@ DIST hdapsd-20090401.tar.gz 95058 RMD160 e4840a4a6be24e8a950c6f6e6c5a2dc36604868
EBUILD hdapsd-20060409-r1.ebuild 2337 RMD160 e3362d2ac87503df8edd7016ad2e6a63f4a4673d SHA1 73be34ebdf551287ee4fe05b25d8954ce7bb1b57 SHA256 8f8a4141aade5c2d02c3c62d66a881ea6845a688b77cacb49c5684b9a93875ab
EBUILD hdapsd-20060409-r3.ebuild 2779 RMD160 07f89313ee0610e4c5e0cb296f18bf5c5400b3da SHA1 8d5449ae6f46c6098b3d022790bb72999d81f30a SHA256 fc87855140cf8e77a62769ddb6c262d1262174dfa4ba994ed1322785b3860452
EBUILD hdapsd-20060409.ebuild 2331 RMD160 a11c82cd4bb607e9b58de5debadcdaf477c4acbe SHA1 80402ff04bb6f86cbd43e142758bd04b7b21582c SHA256 366b12265be7774c8c87c9d01be196a641e473170fe657de7811d2f5292e1ece
-EBUILD hdapsd-20090401.ebuild 1815 RMD160 01795a4e4d04e4f9becadf22f4ce087c1454b6da SHA1 a8064f52e468481740caa275d6b29a27186db9bd SHA256 d56edc058f487862b67729c3c8bab3c08ebf6df5374a1ca6c5055777956e90a4
+EBUILD hdapsd-20090401.ebuild 1747 RMD160 446acdd3c41a4eb278f85302c870e73742a3a2e2 SHA1 7b8d030438a70408edeb89856e2b01ee28fbcf80 SHA256 7a6da3f6c2ba2f3eb4eb53bcbe0567be0584300028e4f590c7ecf919dc52cba6
MISC ChangeLog 2461 RMD160 ef1587f45a534fad1d77321b35bd215ab566d2ad SHA1 c96e329056753b1343d20fd2cce09a4b85d60a9b SHA256 a0494dbac6777e7e10e59c4e7f81feaefe9cadcac25ed305c756b7d8ad7a51f4
MISC metadata.xml 263 RMD160 97c8ad544063bcbdf65190404934923e0a42d562 SHA1 6e276e4277eeae8ee686d0c858761aa63bf71e0b SHA256 0d5fcdbefefdc4a8d5d703b5a01a74e1bcf181cb3bd29fd82e202221795e51c2
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iF4EAREIAAYFAk29Y8cACgkQXkR9YqOcLPGUKQD8DQLVvTaD/3Xu8Her6OgLbcvL
+fReqOsAgdALxHumeHmQBAKcdnAXIJp7q3IWv7Ob0iZ0la0EIkjRfAkZs5wGtLB4N
+=lLSB
+-----END PGP SIGNATURE-----
diff --git a/app-laptop/hdapsd/hdapsd-20090401.ebuild b/app-laptop/hdapsd/hdapsd-20090401.ebuild
index 4eb86558969c..476694c445fa 100644
--- a/app-laptop/hdapsd/hdapsd-20090401.ebuild
+++ b/app-laptop/hdapsd/hdapsd-20090401.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/hdapsd/hdapsd-20090401.ebuild,v 1.2 2009/10/15 02:30:08 mr_bones_ Exp $
-
-EAPI="2"
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/hdapsd/hdapsd-20090401.ebuild,v 1.3 2011/05/01 13:42:40 ssuominen Exp $
+EAPI=2
inherit eutils linux-info toolchain-funcs
DESCRIPTION="IBM ThinkPad Harddrive Active Protection disk head parking daemon"
@@ -12,15 +11,13 @@ SRC_URI="mirror://sourceforge/hdaps/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~amd64"
-
+KEYWORDS="~amd64 ~x86"
IUSE=""
-RDEPEND=""
pkg_setup() {
# We require the hdaps module which can either come from kernel sources or
# from the tp_smapi package.
- if ! has_version app-laptop/tp_smapi || ! built_with_use app-laptop/tp_smapi hdaps; then
+ if ! has_version app-laptop/tp_smapi[hdaps]; then
CONFIG_CHECK="~SENSORS_HDAPS"
ERROR_SENSORS_HDAPS="${P} requires app-laptop/tp_smapi (with hdaps USE enabled) or support for CONFIG_SENSORS_HDAPS enabled"
linux-info_pkg_setup
@@ -28,7 +25,7 @@ pkg_setup() {
}
src_install() {
- emake DESTDIR="${D}" install || die "Install failed"
+ emake DESTDIR="${D}" install || die
rm -rf "${D}"/usr/share/doc/hdapsd
dodoc ChangeLog README AUTHORS
newconfd "${FILESDIR}"/hdapsd.conf hdapsd
@@ -36,11 +33,11 @@ src_install() {
}
pkg_postinst(){
- [[ -z $(ls "${ROOT}"/sys/block/*/queue/protect 2>/dev/null) ]] && \
- [[ -z $(ls "${ROOT}"/sys/block/*/device/unload_heads 2>/dev/null) ]] && \
+ [[ -z $(ls ${ROOT}/sys/block/*/queue/protect 2>/dev/null) ]] && \
+ [[ -z $(ls ${ROOT}/sys/block/*/device/unload_heads 2>/dev/null) ]] && \
ewarn "Your kernel does NOT support shock protection. Kernel 2.6.28 and above is recommended!"
- if ! has_version app-laptop/tp_smapi; then
+ if ! has_version app-laptop/tp_smapi[hdaps]; then
ewarn "Using the hdaps module provided by app-laptop/tp_smapi instead"
ewarn "of the in-kernel driver is strongly recommended!"
fi