/[gentoo-x86]/app-laptop/tpctl/tpctl-4.2.ebuild
Gentoo

Contents of /app-laptop/tpctl/tpctl-4.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sun Mar 18 12:24:41 2012 UTC (8 years, 4 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Removal, bug #381263

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-laptop/tpctl/tpctl-4.2.ebuild,v 1.6 2010/01/01 21:12:27 ssuominen Exp $
4
5 #transform P to match tarball versioning
6 MYPV=${PV/_beta/beta}
7 MYP="${PN}_${MYPV}"
8
9 DESCRIPTION="Thinkpad system control user space programs"
10 HOMEPAGE="http://tpctl.sourceforge.net/tpctlhome.htm"
11 SRC_URI="mirror://sourceforge/tpctl/${MYP}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="-* x86"
16 IUSE="ncurses tpctlir perl"
17
18 DEPEND=">=app-laptop/thinkpad-4.1
19 ncurses? ( sys-libs/ncurses )"
20 RDEPEND="${DEPEND}
21 perl? ( dev-lang/perl )"
22
23 src_compile() {
24 emake -C lib || die "lib make failed"
25 emake -C tpctl || die "tpctl make failed"
26 if use ncurses ; then
27 emake -C ntpctl || die "ntpctl make failed"
28 fi
29
30 # Only for thinkpad models 760 and 765
31 # build with:
32 # $ USE=tpctlir emerge tpctl
33 if use tpctlir ; then
34 emake -C tpctlir || die "tpctlir make failed"
35 fi
36 }
37
38 src_install() {
39 dodoc AUTHORS ChangeLog README SUPPORTED-MODELS TROUBLESHOOTING VGA-MODES
40 dolib lib/libsmapidev.so.2.0
41 dobin tpctl/tpctl
42 [ -e ntpctl/ntpctl ] && dobin ntpctl/ntpctl
43 if use tpctlir && [ -e tpctlir/tpctlir ]; then
44 mv tpctlir/README README.tpctlir
45 dodoc README.tpctlir
46 dobin tpctlir/tpctlir
47 fi
48 if use perl ; then
49 mv apmiser/README README.apmiser
50 dodoc README.apmiser
51 dosbin apmiser/apmiser
52 newinitd "${FILESDIR}"/apmiser.rc apmiser
53 fi
54 }

  ViewVC Help
Powered by ViewVC 1.1.20