summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandy <andy@mailbox.tu-berlin.de>2010-12-31 14:24:30 +0100
committerandy <andy@mailbox.tu-berlin.de>2010-12-31 14:24:30 +0100
commit212aded17628a9afce8b3fa91c18520e7d864fc4 (patch)
tree10678e0c0429a1f00ff0326d1048bf6631b94358 /sys-apps/thinkfan
parentversion bump & small fixes for thinkfan (diff)
downloadandy-212aded17628a9afce8b3fa91c18520e7d864fc4.tar.gz
andy-212aded17628a9afce8b3fa91c18520e7d864fc4.tar.bz2
andy-212aded17628a9afce8b3fa91c18520e7d864fc4.zip
ebuild sanity fixes
with help from sping :)
Diffstat (limited to 'sys-apps/thinkfan')
-rw-r--r--sys-apps/thinkfan/Manifest2
-rw-r--r--sys-apps/thinkfan/thinkfan-0.7.1.ebuild23
2 files changed, 11 insertions, 14 deletions
diff --git a/sys-apps/thinkfan/Manifest b/sys-apps/thinkfan/Manifest
index cea6d7e..9f4d540 100644
--- a/sys-apps/thinkfan/Manifest
+++ b/sys-apps/thinkfan/Manifest
@@ -1,2 +1,2 @@
DIST thinkfan-0.7.1.tar.gz 21413 RMD160 4eeb2ead090732ae800f750778544c6258295a50 SHA1 65a32b8413159a6e7435e940cc1aa587db9646e6 SHA256 f771d4c0c398ce3df6305a7b8ed2cf2e7955d9afda8d63b06ab684c1c79d986e
-EBUILD thinkfan-0.7.1.ebuild 1025 RMD160 2bdbd0bb91955f80ad9ac41b51e9b49707e7db21 SHA1 d467f1bf3c4523c17b210e17d42da4fc65b210d2 SHA256 20ae175fa012d4e19c9e7c92341f2ed44c535da344a6e1d181cf6cc32b947a10
+EBUILD thinkfan-0.7.1.ebuild 893 RMD160 4f6a788683d65e3aa956c19290635164ed0ffb3c SHA1 21a47c8d6e80305e910d672c7b1abf0e66077aef SHA256 e402b9114a544cf79209dec20d8cab4012d7c0e55de6e8eea542df88c5e14df3
diff --git a/sys-apps/thinkfan/thinkfan-0.7.1.ebuild b/sys-apps/thinkfan/thinkfan-0.7.1.ebuild
index 01893cd..25b792e 100644
--- a/sys-apps/thinkfan/thinkfan-0.7.1.ebuild
+++ b/sys-apps/thinkfan/thinkfan-0.7.1.ebuild
@@ -1,13 +1,12 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-DESCRIPTION="A minimalist fan control program. Supports the sysfs hwmon
-interface and thinkpad_acpi"
-HOMEPAGE="http://http://thinkfan.sourceforge.net"
-SRC_URI="http://downloads.sourceforge.net/project/thinkfan/thinkfan-$PV.tar.gz"
+DESCRIPTION="A minimalist fan control program. Supports the sysfs hwmon interface and thinkpad_acpi"
+HOMEPAGE="http://thinkfan.sourceforge.net"
+SRC_URI="mirror://sourceforge/project/${PN}/${P}.tar.gz"
-LICENSE="Creative Commons Attribution-Share Alike 3.0"
+LICENSE="CCPL-Attribution-ShareAlike-3.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug"
@@ -16,19 +15,17 @@ DEPEND=""
RDEPEND=""
src_install() {
- dosbin thinkfan
+ dosbin thinkfan || die
exeinto /etc/init.d
- newexe rcscripts/thinkfan.gentoo thinkfan
+ newexe rcscripts/thinkfan.gentoo thinkfan || die
dodoc README thinkfan.conf.sysfs thinkfan.conf.thinkpad ChangeLog || die
- if ! [[ -f /proc/acpi/ibm/fan ]]; then
+ if [[ ! -f /proc/acpi/ibm/fan ]]; then
elog "thinkpad_acpi procfs entries don't seem to exist." \
- "You'll need to use the generic sysfs hwmon interface. See README."
+ "You'll need to use the generic sysfs hwmon interface. See README."
else
elog "This seems to be a Thinkpad. You should use the IBM" \
- "interface. See README."
+ "interface. See README."
fi
- elog "If you're upgrading from <=thinkfan-0.4, you'll have" \
- "to delete /var/run/thinkfan.pid."
}