diff options
author | Michael Weber <xmw@gentoo.org> | 2012-02-13 02:27:51 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2012-02-13 02:27:51 +0000 |
commit | f5769c8da1985ec46a7adb412faac6e803057561 (patch) | |
tree | aa2a726ed68a7fb771d6ad4fb7c4a0a4267f8a63 /app-laptop/thinkfan/thinkfan-0.8_alpha2.ebuild | |
parent | app-laptop/thinkfan masked for testing (diff) | |
download | historical-f5769c8da1985ec46a7adb412faac6e803057561.tar.gz historical-f5769c8da1985ec46a7adb412faac6e803057561.tar.bz2 historical-f5769c8da1985ec46a7adb412faac6e803057561.zip |
Initial import. Thanks Maxim Konyushikhin for the initial ebuild (bug 387399)
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64
Diffstat (limited to 'app-laptop/thinkfan/thinkfan-0.8_alpha2.ebuild')
-rw-r--r-- | app-laptop/thinkfan/thinkfan-0.8_alpha2.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/app-laptop/thinkfan/thinkfan-0.8_alpha2.ebuild b/app-laptop/thinkfan/thinkfan-0.8_alpha2.ebuild new file mode 100644 index 000000000000..e1107ee82662 --- /dev/null +++ b/app-laptop/thinkfan/thinkfan-0.8_alpha2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/thinkfan/thinkfan-0.8_alpha2.ebuild,v 1.1 2012/02/13 02:27:50 xmw Exp $ + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="simple fan control program for thinkpads" +HOMEPAGE="http://thinkfan.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.7.3-makefile.patch \ + "${FILESDIR}"/${PN}-0.7.3-openrc.patch + tc-export CC +} + +src_install() { + dosbin ${PN} + + newinitd rcscripts/thinkfan.gentoo ${PN} + + doman ${PN}.1 + dodoc ChangeLog NEWS README \ + examples/${PN}.conf.{complex,sysfs,thinkpad} +} + +pkg_postinst() { + elog "Please read the documentation and copy an" + elog "appropriate file to /etc/thinkfan.conf." +} |