diff options
author | Wout Mertens <wmertens@gentoo.org> | 2003-05-04 13:19:50 +0000 |
---|---|---|
committer | Wout Mertens <wmertens@gentoo.org> | 2003-05-04 13:19:50 +0000 |
commit | b0d6d5ce92348b264c74f8d578229f3b6d2f3101 (patch) | |
tree | 300e8780e10d044622dd097543b876001598d360 /sys-apps/tpctl | |
parent | Version bump (diff) | |
download | gentoo-2-b0d6d5ce92348b264c74f8d578229f3b6d2f3101.tar.gz gentoo-2-b0d6d5ce92348b264c74f8d578229f3b6d2f3101.tar.bz2 gentoo-2-b0d6d5ce92348b264c74f8d578229f3b6d2f3101.zip |
Version bump, fix #20072
Diffstat (limited to 'sys-apps/tpctl')
-rw-r--r-- | sys-apps/tpctl/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/tpctl/files/digest-tpctl-4.4 | 1 | ||||
-rw-r--r-- | sys-apps/tpctl/tpctl-4.4.ebuild | 54 |
3 files changed, 61 insertions, 2 deletions
diff --git a/sys-apps/tpctl/ChangeLog b/sys-apps/tpctl/ChangeLog index 609be3887867..a591650473ea 100644 --- a/sys-apps/tpctl/ChangeLog +++ b/sys-apps/tpctl/ChangeLog @@ -1,10 +1,14 @@ # ChangeLog for sys-apps/tpctl # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/tpctl/ChangeLog,v 1.5 2003/02/17 16:17:07 wmertens Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/tpctl/ChangeLog,v 1.6 2003/05/04 13:18:17 wmertens Exp $ +*tpctl-4.4 (04 May 2003) + 17 Feb 2003; Wout Mertens (wmertens@gentoo.org) tpctl-4.4.ebuild : + Version bump, fixing #20072 + *tpctl-4.2 (17 Feb 2003) - 17 Feb 2003; Wout Mertens (wmertens@gentoo.org): + 17 Feb 2003; Wout Mertens (wmertens@gentoo.org) tpctl-4.2.ebuild : Version bump *tpctl-3.2 (25 April 2002) diff --git a/sys-apps/tpctl/files/digest-tpctl-4.4 b/sys-apps/tpctl/files/digest-tpctl-4.4 new file mode 100644 index 000000000000..53fc926f7e1d --- /dev/null +++ b/sys-apps/tpctl/files/digest-tpctl-4.4 @@ -0,0 +1 @@ +MD5 658968fac5f02ebc6f64c3750b52fc44 tpctl_4.4.tar.gz 83113 diff --git a/sys-apps/tpctl/tpctl-4.4.ebuild b/sys-apps/tpctl/tpctl-4.4.ebuild new file mode 100644 index 000000000000..f808fd756fed --- /dev/null +++ b/sys-apps/tpctl/tpctl-4.4.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/tpctl/tpctl-4.4.ebuild,v 1.1 2003/05/04 13:18:17 wmertens Exp $ + +IUSE="ncurses tpctlir perl" + +#transform P to match tarball versioning +MYPV=${PV/_beta/beta} +MYP="${PN}_${MYPV}" + +DESCRIPTION="Thinkpad system control user space programs" +SRC_URI="mirror://sourceforge/tpctl/${MYP}.tar.gz" +HOMEPAGE="http://tpctl.sourceforge.net/tpctlhome.htm" +KEYWORDS="~x86 -ppc -mips -sparc" +SLOT="0" +LICENSE="GPL-2" + +DEPEND="$DEPEND >=sys-apps/thinkpad-4.3 ncurses? ( sys-libs/ncurses )" +RDEPEND="$RDEPEND >=sys-apps/thinkpad-4.3 ncurses? ( sys-libs/ncurses ) perl? ( dev-lang/perl )" + +src_compile() { + emake -C lib || die "lib make failed" + emake -C tpctl || die "tpctl make failed" + if use ncurses > /dev/null; then + emake -C ntpctl || die "ntpctl make failed" + fi + + # Only for thinkpad models 760 and 765 + # build with: + # $ USE=tpctlir emerge tpctl + if use tpctlir; then + emake -C tpctlir || die "tpctlir make failed" + fi +} + +src_install() { + dodoc AUTHORS COPYING ChangeLog README SUPPORTED-MODELS TROUBLESHOOTING \ + VGA-MODES + dolib lib/libsmapidev.so.2.0 + dobin tpctl/tpctl + [ -e ntpctl/ntpctl ] && dobin ntpctl/ntpctl + if use tpctlir && [ -e tpctlir/tpctlir ]; then + mv tpctlir/README README.tpctlir + dodoc README.tpctlir + dobin tpctlir/tpctlir + fi + if use perl > /dev/null; then + mv apmiser/README README.apmiser + dodoc README.apmiser + dosbin apmiser/apmiser + exeinto /etc/init.d + newexe ${FILESDIR}/apmiser.rc apmiser + fi +} |