diff options
author | 2010-12-25 15:21:08 +0100 | |
---|---|---|
committer | 2010-12-25 15:21:08 +0100 | |
commit | cf93e9ef19b2834a916ae75702a4f2948e10361d (patch) | |
tree | 628c7c40afd01e31972b6d41cff048c7e7633f0c | |
parent | initial commit (diff) | |
download | andy-cf93e9ef19b2834a916ae75702a4f2948e10361d.tar.gz andy-cf93e9ef19b2834a916ae75702a4f2948e10361d.tar.bz2 andy-cf93e9ef19b2834a916ae75702a4f2948e10361d.zip |
version bump & small fixes for thinkfan
Based on ebuild from sectools overlay
-rw-r--r-- | sys-apps/thinkfan/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/thinkfan/thinkfan-0.7.1.ebuild | 34 |
2 files changed, 36 insertions, 0 deletions
diff --git a/sys-apps/thinkfan/Manifest b/sys-apps/thinkfan/Manifest new file mode 100644 index 0000000..cea6d7e --- /dev/null +++ b/sys-apps/thinkfan/Manifest @@ -0,0 +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 diff --git a/sys-apps/thinkfan/thinkfan-0.7.1.ebuild b/sys-apps/thinkfan/thinkfan-0.7.1.ebuild new file mode 100644 index 0000000..01893cd --- /dev/null +++ b/sys-apps/thinkfan/thinkfan-0.7.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2008 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" + +LICENSE="Creative Commons Attribution-Share Alike 3.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +DEPEND="" +RDEPEND="" + +src_install() { + dosbin thinkfan + + exeinto /etc/init.d + newexe rcscripts/thinkfan.gentoo thinkfan + + dodoc README thinkfan.conf.sysfs thinkfan.conf.thinkpad ChangeLog || die + 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." + else + elog "This seems to be a Thinkpad. You should use the IBM" \ + "interface. See README." + fi + elog "If you're upgrading from <=thinkfan-0.4, you'll have" \ + "to delete /var/run/thinkfan.pid." +} |