diff options
Diffstat (limited to 'app-laptop/tpctl')
-rw-r--r-- | app-laptop/tpctl/ChangeLog | 97 | ||||
-rw-r--r-- | app-laptop/tpctl/Manifest | 17 | ||||
-rw-r--r-- | app-laptop/tpctl/files/apmiser.rc | 17 | ||||
-rw-r--r-- | app-laptop/tpctl/files/tpctlir-cli-4.4-r1.diff | 29 | ||||
-rw-r--r-- | app-laptop/tpctl/metadata.xml | 8 | ||||
-rw-r--r-- | app-laptop/tpctl/tpctl-3.2.ebuild | 55 | ||||
-rw-r--r-- | app-laptop/tpctl/tpctl-4.16.ebuild | 43 | ||||
-rw-r--r-- | app-laptop/tpctl/tpctl-4.17.ebuild | 43 | ||||
-rw-r--r-- | app-laptop/tpctl/tpctl-4.2.ebuild | 54 | ||||
-rw-r--r-- | app-laptop/tpctl/tpctl-4.4-r1.ebuild | 63 | ||||
-rw-r--r-- | app-laptop/tpctl/tpctl-4.4.ebuild | 54 | ||||
-rw-r--r-- | app-laptop/tpctl/tpctl-4.8.ebuild | 63 |
12 files changed, 0 insertions, 543 deletions
diff --git a/app-laptop/tpctl/ChangeLog b/app-laptop/tpctl/ChangeLog deleted file mode 100644 index c206bd566418..000000000000 --- a/app-laptop/tpctl/ChangeLog +++ /dev/null @@ -1,97 +0,0 @@ -# ChangeLog for app-laptop/tpctl -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/tpctl/ChangeLog,v 1.17 2008/07/31 11:49:32 ulm Exp $ - - 31 Jul 2008; Ulrich Mueller <ulm@gentoo.org> metadata.xml: - Add USE flag description to metadata wrt GLEP 56. - - 25 May 2007; Christian Faulhammer <opfer@gentoo.org> ChangeLog: - corrected ChangeLog, so it conforms to our standards - - 28 Apr 2007; Sven Wegener <swegener@gentoo.org> tpctl-3.2.ebuild, - tpctl-4.2.ebuild, tpctl-4.4.ebuild, tpctl-4.4-r1.ebuild, tpctl-4.8.ebuild: - Fix *initd, *confd and *envd calls (#173884, #174266) - - 21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog: - Transition to Manifest2. - - 27 Apr 2006; Marien Zwart <marienz@gentoo.org> files/digest-tpctl-3.2, - files/digest-tpctl-4.2, files/digest-tpctl-4.4, files/digest-tpctl-4.4-r1, - files/digest-tpctl-4.8, files/digest-tpctl-4.16, Manifest: - Fixing SHA256 digest for real, pass three... - -*tpctl-4.17 (12 Mar 2006) - - 12 Mar 2006; Steev Klimaszewski <steev@gentoo.org> metadata.xml, - +tpctl-4.17.ebuild: - Update meta to show mobile as herd. - Version bump to 4.17, which closes bug #120067 - Thanks to Tobias Sager for reporting. - - 12 Jan 2006; Diego Pettenò <flameeyes@gentoo.org> tpctl-4.4-r1.ebuild, - tpctl-4.8.ebuild: - Drop amd64 keyword, there are no amd64 ThinkPad for now. - - 30 Aug 2005; Robin H. Johnson <robbat2@gentoo.org> tpctl-4.16.ebuild: - Stable on x86. - - 31 Mar 2005; <blubb@gentoo.org> tpctl-4.8.ebuild: - stable on amd64 - -*tpctl-4.16 (08 Jan 2005) - - 08 Jan 2005; Henrik Brix Andersen <brix@gentoo.org> +tpctl-4.16.ebuild: - Version bump. Fixes bug #39943 and bug #69669. - - 18 Jul 2004; Robin H. Johnson <robbat2@gentoo.org> tpctl-4.8.ebuild: - stable on x86. - -*tpctl-4.4-r1 (07 Mar 2004) - - 07 Mar 2004; Peter Johanson <latexer@gentoo.org> metadata.xml, - tpctl-3.2.ebuild, tpctl-4.2.ebuild, tpctl-4.4-r1.ebuild, tpctl-4.4.ebuild, - tpctl-4.8.ebuild, files/apmiser.rc, files/tpctlir-cli-4.4-r1.diff: - Moved to new app-laptop category - - 26 Feb 2004; Gustavo Felisberto <humpback@gentoo.org>; tpctl-3.2.ebuild, - tpctl-4.2.ebuild, tpctl-4.4-r1.ebuild, tpctl-4.4.ebuild, tpctl-4.8.ebuild: - Adding -* and maintaining x86 or ~x86. There are only x86 thinkpads. See bug - 34495 - -*tpctl-4.8 (25 Dec 2003) - - 25 Dec 2003; Robin H. Johnson <robbat2@gentoo.org> tpctl-4.8.ebuild: - version bump - - 03 Sep 2003; Karl Trygve Kalleberg (karltk@gentoo.org) tpctl-4.4-r1.ebuild : - USE=tpctlir incompatible with SMP-enabled kernel, patched tpctlir/tpctlir.c - Fixes #26820. - -*tpctl-4.4-r1 (28 Jun 2003) - 28 Jun 2003; Karl Trygve Kalleberg (karltk@gentoo.org) tpctl-4.4-r1.ebuild : - Version bump, installing manpages - -*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) tpctl-4.2.ebuild : - Version bump - -*tpctl-3.2 (25 Apr 2002) - - 21 Jul 2002; Mark Guertin <gerk@gentoo.org>: - updated keywords (-ppc) - - 14 Jul 2002; phoen][x <phoenix@gentoo.org> tpctl-3.2.ebuild : - Added LICENSE, KEYWORDS, SLOT. - - 25 Apr 2002; Wout Mertens <Wout.Mertens@advalvas.be> ChangeLog : - - Added initial ChangeLog which should be updated whenever the package is - updated in any way. This changelog is targetted to users. This means that the - comments should well explained and written in clean English. The details about - writing correct changelogs are explained in the skel.ChangeLog file which you - can find in the root directory of the portage repository. diff --git a/app-laptop/tpctl/Manifest b/app-laptop/tpctl/Manifest deleted file mode 100644 index 0b5fbcbbcf2a..000000000000 --- a/app-laptop/tpctl/Manifest +++ /dev/null @@ -1,17 +0,0 @@ -AUX apmiser.rc 560 RMD160 63f6f4ad375462571af799dccfc75dc11de51e6f SHA1 13ee50b983af166c198fe674fdd63c5934805bd5 SHA256 ee1216be5da02297f0a4d70e68c8af1d2f25c6cac90379b6c8ff8fd85b89e9d8 -AUX tpctlir-cli-4.4-r1.diff 770 RMD160 378285addb18218102b43da3383da2cf01f8d492 SHA1 72ec076358ff2ac33ade18f125b7c19f20fb5662 SHA256 daf48325ac03b5cf5eeead8be35e7b8d97140d2443bd6309f4301d55ba418b60 -DIST tpctl_3.2.tar.gz 79506 RMD160 c32d91659f1182b1b80f94e94fb58dc57eff9030 SHA1 75b41bbe805fa8421e044a80ab0512b7a5329321 SHA256 803a044eb1295dd47023fba6a37e4c19fb3b3bd1d908c749bcb06ef5d93b948b -DIST tpctl_4.16.tar.gz 79775 RMD160 c8adfde84a9e7c4f20bbebf3ac775aa38a0a31c3 SHA1 d0ed11b1ea384af1b0edf19dcaf71d4d62fda445 SHA256 9b1d2063d850857c4dcc45deba427fc5f1fffec1cebc045c33435b7719b0a24d -DIST tpctl_4.17.tar.gz 79817 RMD160 65aa75308848d011f2b762ead227bd6a07415d5c SHA1 56fb446a73e39cb98536c0351f2e8c0461f16023 SHA256 74d6b9e60047e968dd06705d4db5eb1405c3c16634d794151d09b9177f39decd -DIST tpctl_4.2.tar.gz 82900 RMD160 61fcc82850df3eee99767ef9e2d3860f6b0853c0 SHA1 ac3b40c7ce6abb68ac72e928b0a69caddc19814f SHA256 180d8844f73f2acba1836f6a75f113acda756540910bc2a1f09562ea88d09688 -DIST tpctl_4.4.tar.gz 83113 RMD160 c4d77da7d28eaf3cf6188ef0b22045a9f8d68ad4 SHA1 cf7ed11039af3eed3c663cc3e57688bcf37c6435 SHA256 6aa7b110cc53ca428ad8e198a5ae04a6d35134bf5ead602afb4bf3ed6b13ebe1 -DIST tpctl_4.8.tar.gz 89430 RMD160 cc012077fa8e24cc518ed850ea8fa528319e434c SHA1 9c3b0e5d754ce0573412ecba913f191ef6ea5603 SHA256 c80f75b819cb3edee56377e7900a851fe8e49b35ad52d8f0e9663973ef8b1ea3 -EBUILD tpctl-3.2.ebuild 1459 RMD160 3e47c092706fda7d5ed62a5bd07eaa3ef5ed3998 SHA1 b98bbd7be715739d64cbd370fde498422d627f76 SHA256 c2db8b0f946c56014a108fee0ac2e27374bf53bed7d098816f16cde32b1239c1 -EBUILD tpctl-4.16.ebuild 1021 RMD160 d5ec25bd36418c08f40ffb946057d5abcf0c19ca SHA1 5f951bad9a6df3f4e4ee9cc1c6171e06daed8435 SHA256 19853b74180bdc7c9b84f7659cff3f38dc0700993d3a968f54a9a98a23108a73 -EBUILD tpctl-4.17.ebuild 1021 RMD160 c5b150c2352486f72d7bbb105bd35f5b3645db1d SHA1 327c8198ae074c9d46d3e3f78c7518e05a8e6889 SHA256 04f0e312e461dd4646c4fea2e53a21e7e9aa50bcfc5e160ca6381f2f3faca8b8 -EBUILD tpctl-4.2.ebuild 1459 RMD160 2a6f4ab68e8050100ae12d4272db587c994a53cc SHA1 b6fa5d41270f3065694b7474c95ea9beccd754b0 SHA256 c653dc2fd35b7a00e6316ad8cd4ae8073450115d69cb2c90984ebdf866712306 -EBUILD tpctl-4.4-r1.ebuild 1606 RMD160 d4acba6c6357a39f421af94ef12766e98c4cd633 SHA1 bf2435233a3b2a364de6a7e637130e5a36e1f8cb SHA256 c33efdb62ec7e98e4e51215733d79e80728b67c34178d6a824ea9c0c86f19530 -EBUILD tpctl-4.4.ebuild 1457 RMD160 b6297d8cc05b24082bef56b01ad10f34cfec37fc SHA1 9df1a79632338d9d0a6fda085e67b27daf882bee SHA256 9a710238d032353258e3cbb84107aef7aeb82b9697b0db1559bd34df89c2be2d -EBUILD tpctl-4.8.ebuild 1602 RMD160 14edffa24df1903ffc8b2c007e8c063dd6fb68d7 SHA1 ffc7383bbfbec00511e1d48133a78eb97fc7ebd3 SHA256 6dd747324fdfa85411230f83c170cd89759f321d767ac6f886f6e2dfcf6fbc1b -MISC ChangeLog 3619 RMD160 3594cff5b70ea84d07c625903474d8ea769c65dd SHA1 502b6ae7a392d302cf5e02fed38ed4c1c8a4853d SHA256 3a7b2c775b89f3594753ba0a675054c8c72b0026d861dd9e85ea00d9e09d8cde -MISC metadata.xml 249 RMD160 68208164186bc97f7b0a4540a3d3690d2a0f3ec0 SHA1 3376ed88da4569262a56b5d1725876ef26b89837 SHA256 19bfa1c88d530f2fe5346900ce3f67bdc9ed7a75f9913f201f7b43a32438c4a3 diff --git a/app-laptop/tpctl/files/apmiser.rc b/app-laptop/tpctl/files/apmiser.rc deleted file mode 100644 index fb21fdd47a0c..000000000000 --- a/app-laptop/tpctl/files/apmiser.rc +++ /dev/null @@ -1,17 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/tpctl/files/apmiser.rc,v 1.2 2004/07/14 21:31:16 agriffis Exp $ - -start() { - ebegin "Starting Thinkpad Battery Maximiser" - start-stop-daemon --start --background --quiet --make-pidfile \ - --pidfile /var/run/apmiser.pid --exec /usr/sbin/apmiser - eend $? -} - -stop () { - ebegin "Shutting down Thinkpad Battery Maximiser" - start-stop-daemon --stop --quiet --pid /var/run/apmiser.pid - eend $? -} diff --git a/app-laptop/tpctl/files/tpctlir-cli-4.4-r1.diff b/app-laptop/tpctl/files/tpctlir-cli-4.4-r1.diff deleted file mode 100644 index 1eec002ab9d8..000000000000 --- a/app-laptop/tpctl/files/tpctlir-cli-4.4-r1.diff +++ /dev/null @@ -1,29 +0,0 @@ -diff -ur tpctl-4.4/tpctlir/tpctlir.c tpctl-4.4/tpctlir/tpctlir.c ---- tpctl-4.4/tpctlir/tpctlir.c 2002-03-01 14:46:14.000000000 +0100 -+++ tpctl-4.4/tpctlir/tpctlir.c 2003-10-04 18:00:40.000000000 +0200 -@@ -1,6 +1,7 @@ - #include <asm/system.h> - #include <sys/io.h> - #include <stdio.h> -+#include <string.h> - - /* - * enable/disable IR on IBM ThinkPads with -@@ -29,7 +30,7 @@ - return 2; - } - -- cli(); -+ asm("cli"); - - val94 = inb(0x94); /* POS mask register */ - outb(0xfE, 0x94); /* mask bit (0) for IR; changes enabled */ -@@ -44,7 +45,7 @@ - outb(val94, 0x94); /* restore POS mask to prevent changing */ - outb(val94, 0x47); /* pause */ - -- sti(); -+ asm("sti"); - - return 0; - } diff --git a/app-laptop/tpctl/metadata.xml b/app-laptop/tpctl/metadata.xml deleted file mode 100644 index 5b84f883d1a8..000000000000 --- a/app-laptop/tpctl/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>mobile</herd> -<use> - <flag name='tpctlir'>Enable support for thinkpad models 760 and 765</flag> -</use> -</pkgmetadata> diff --git a/app-laptop/tpctl/tpctl-3.2.ebuild b/app-laptop/tpctl/tpctl-3.2.ebuild deleted file mode 100644 index e70331df5c73..000000000000 --- a/app-laptop/tpctl/tpctl-3.2.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/tpctl/tpctl-3.2.ebuild,v 1.6 2010/01/01 21:12:27 ssuominen Exp $ - -#transform P to match tarball versioning -MYPV=${PV/_beta/beta} -MYP="${PN}_${MYPV}" -KV="" - -DESCRIPTION="Thinkpad system control user space programs" -HOMEPAGE="http://tpctl.sourceforge.net/tpctlhome.htm" -SRC_URI="mirror://sourceforge/tpctl/${MYP}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* x86" -IUSE="ncurses tpctlir perl" - -DEPEND="app-laptop/thinkpad - ncurses? ( sys-libs/ncurses )" -RDEPEND="${DEPEND} - perl? ( dev-lang/perl )" - -src_compile() { - emake -C lib || die "lib make failed" - emake -C tpctl || die "tpctl make failed" - if use ncurses ; 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 ChangeLog README SUPPORTED-MODELS TROUBLESHOOTING VGA-MODES - dolib lib/libsmapidev.so.1.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 ; then - mv apmiser/README README.apmiser - dodoc README.apmiser - dosbin apmiser/apmiser - newinitd "${FILESDIR}"/apmiser.rc apmiser - fi -} diff --git a/app-laptop/tpctl/tpctl-4.16.ebuild b/app-laptop/tpctl/tpctl-4.16.ebuild deleted file mode 100644 index b502c5412616..000000000000 --- a/app-laptop/tpctl/tpctl-4.16.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/tpctl/tpctl-4.16.ebuild,v 1.3 2010/01/01 21:12:27 ssuominen Exp $ - -MY_P=${PN}_${PV} - -DESCRIPTION="Thinkpad system control user space programs" - -HOMEPAGE="http://tpctl.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86" - -IUSE="tpctlir" - -DEPEND="app-laptop/thinkpad - dev-lang/perl - sys-libs/ncurses" - -src_compile() { - emake || die "emake failed" - - if use tpctlir; then - emake -C tpctlir || die "emake -C tpctlir failed" - fi -} - -src_install() { - if use tpctlir; then - dodir /usr/sbin - newdoc tpctlir/README README.tpctlir - doman tpctlir/tpctlir.8 - fi - - emake DEST="${D}" install_libraries install_binaries install_man || die "emake install failed" - - newinitd "${FILESDIR}"/apmiser.rc apmiser - - dodoc ChangeLog SUPPORTED-MODELS TROUBLESHOOTING AUTHORS README VGA-MODES - newdoc apmiser/README README.apmiser -} diff --git a/app-laptop/tpctl/tpctl-4.17.ebuild b/app-laptop/tpctl/tpctl-4.17.ebuild deleted file mode 100644 index 492839c8f382..000000000000 --- a/app-laptop/tpctl/tpctl-4.17.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/tpctl/tpctl-4.17.ebuild,v 1.2 2010/01/01 21:12:27 ssuominen Exp $ - -MY_P=${PN}_${PV} - -DESCRIPTION="Thinkpad system control user space programs" - -HOMEPAGE="http://tpctl.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86" - -IUSE="tpctlir" - -DEPEND="app-laptop/thinkpad - dev-lang/perl - sys-libs/ncurses" - -src_compile() { - emake || die "emake failed" - - if use tpctlir; then - emake -C tpctlir || die "emake -C tpctlir failed" - fi -} - -src_install() { - if use tpctlir; then - dodir /usr/sbin - newdoc tpctlir/README README.tpctlir - doman tpctlir/tpctlir.8 - fi - - emake DEST="${D}" install_libraries install_binaries install_man || die "emake install failed" - - newinitd "${FILESDIR}"/apmiser.rc apmiser - - dodoc ChangeLog SUPPORTED-MODELS TROUBLESHOOTING AUTHORS README VGA-MODES - newdoc apmiser/README README.apmiser -} diff --git a/app-laptop/tpctl/tpctl-4.2.ebuild b/app-laptop/tpctl/tpctl-4.2.ebuild deleted file mode 100644 index e876036d4903..000000000000 --- a/app-laptop/tpctl/tpctl-4.2.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/tpctl/tpctl-4.2.ebuild,v 1.6 2010/01/01 21:12:27 ssuominen Exp $ - -#transform P to match tarball versioning -MYPV=${PV/_beta/beta} -MYP="${PN}_${MYPV}" - -DESCRIPTION="Thinkpad system control user space programs" -HOMEPAGE="http://tpctl.sourceforge.net/tpctlhome.htm" -SRC_URI="mirror://sourceforge/tpctl/${MYP}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* x86" -IUSE="ncurses tpctlir perl" - -DEPEND=">=app-laptop/thinkpad-4.1 - ncurses? ( sys-libs/ncurses )" -RDEPEND="${DEPEND} - perl? ( dev-lang/perl )" - -src_compile() { - emake -C lib || die "lib make failed" - emake -C tpctl || die "tpctl make failed" - if use ncurses ; 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 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 ; then - mv apmiser/README README.apmiser - dodoc README.apmiser - dosbin apmiser/apmiser - newinitd "${FILESDIR}"/apmiser.rc apmiser - fi -} diff --git a/app-laptop/tpctl/tpctl-4.4-r1.ebuild b/app-laptop/tpctl/tpctl-4.4-r1.ebuild deleted file mode 100644 index 1d724fa61ccc..000000000000 --- a/app-laptop/tpctl/tpctl-4.4-r1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/tpctl/tpctl-4.4-r1.ebuild,v 1.7 2010/01/01 21:12:27 ssuominen Exp $ - -inherit eutils - -#transform P to match tarball versioning -MYPV=${PV/_beta/beta} -MYP="${PN}_${MYPV}" - -DESCRIPTION="Thinkpad system control user space programs" -HOMEPAGE="http://tpctl.sourceforge.net/tpctlhome.htm" -SRC_URI="mirror://sourceforge/tpctl/${MYP}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* x86" -IUSE="ncurses tpctlir perl" - -DEPEND=">=app-laptop/thinkpad-4.3 - ncurses? ( sys-libs/ncurses )" -RDEPEND="${DEPEND} - perl? ( dev-lang/perl )" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/tpctlir-cli-4.4-r1.diff -} - -src_compile() { - emake -C lib || die "lib make failed" - emake -C tpctl || die "tpctl make failed" - if use ncurses ; 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 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 ; then - mv apmiser/README README.apmiser - dodoc README.apmiser - dosbin apmiser/apmiser - newinitd "${FILESDIR}"/apmiser.rc apmiser - fi - doman man/{ntpctl,tpctl}.1 man/apmiser.8 -} diff --git a/app-laptop/tpctl/tpctl-4.4.ebuild b/app-laptop/tpctl/tpctl-4.4.ebuild deleted file mode 100644 index e62b4a1dcc0f..000000000000 --- a/app-laptop/tpctl/tpctl-4.4.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/tpctl/tpctl-4.4.ebuild,v 1.6 2010/01/01 21:13:26 ssuominen Exp $ - -#transform P to match tarball versioning -MYPV=${PV/_beta/beta} -MYP="${PN}_${MYPV}" - -DESCRIPTION="Thinkpad system control user space programs" -HOMEPAGE="http://tpctl.sourceforge.net/tpctlhome.htm" -SRC_URI="mirror://sourceforge/tpctl/${MYP}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* x86" -IUSE="ncurses tpctlir perl" - -DEPEND=">=app-laptop/thinkpad-4.3 - ncurses? ( sys-libs/ncurses )" -RDEPEND="${DEPEND} - perl? ( dev-lang/perl )" - -src_compile() { - emake -C lib || die "lib make failed" - emake -C tpctl || die "tpctl make failed" - if use ncurses ; 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 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 ; then - mv apmiser/README README.apmiser - dodoc README.apmiser - dosbin apmiser/apmiser - newinitd "${FILESDIR}"/apmiser.rc apmiser - fi -} diff --git a/app-laptop/tpctl/tpctl-4.8.ebuild b/app-laptop/tpctl/tpctl-4.8.ebuild deleted file mode 100644 index 62ca6cfb7ab9..000000000000 --- a/app-laptop/tpctl/tpctl-4.8.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/tpctl/tpctl-4.8.ebuild,v 1.11 2010/01/01 21:13:26 ssuominen Exp $ - -inherit eutils - -#transform P to match tarball versioning -MYPV=${PV/_beta/beta} -MYP="${PN}_${MYPV}" - -DESCRIPTION="Thinkpad system control user space programs" -HOMEPAGE="http://tpctl.sourceforge.net/tpctlhome.htm" -SRC_URI="mirror://sourceforge/tpctl/${MYP}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* x86" -IUSE="ncurses tpctlir perl" - -DEPEND=">=app-laptop/thinkpad-4.8 - ncurses? ( sys-libs/ncurses )" -RDEPEND="${DEPEND} - perl? ( dev-lang/perl )" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/tpctlir-cli-4.4-r1.diff -} - -src_compile() { - emake -C lib || die "lib make failed" - emake -C tpctl || die "tpctl make failed" - if use ncurses; 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 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; then - mv apmiser/README README.apmiser - dodoc README.apmiser - dosbin apmiser/apmiser - newinitd "${FILESDIR}"/apmiser.rc apmiser - fi - doman man/{ntpctl,tpctl}.1 man/apmiser.8 -} |