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

Contents of /app-laptop/tpctl/tpctl-3.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-3.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 KV=""
9
10 DESCRIPTION="Thinkpad system control user space programs"
11 HOMEPAGE="http://tpctl.sourceforge.net/tpctlhome.htm"
12 SRC_URI="mirror://sourceforge/tpctl/${MYP}.tar.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="-* x86"
17 IUSE="ncurses tpctlir perl"
18
19 DEPEND="app-laptop/thinkpad
20 ncurses? ( sys-libs/ncurses )"
21 RDEPEND="${DEPEND}
22 perl? ( dev-lang/perl )"
23
24 src_compile() {
25 emake -C lib || die "lib make failed"
26 emake -C tpctl || die "tpctl make failed"
27 if use ncurses ; then
28 emake -C ntpctl || die "ntpctl make failed"
29 fi
30
31 # Only for thinkpad models 760 and 765
32 # build with:
33 # $ USE=tpctlir emerge tpctl
34 if use tpctlir ; then
35 emake -C tpctlir || die "tpctlir make failed"
36 fi
37 }
38
39 src_install() {
40 dodoc AUTHORS ChangeLog README SUPPORTED-MODELS TROUBLESHOOTING VGA-MODES
41 dolib lib/libsmapidev.so.1.0
42 dobin tpctl/tpctl
43 [ -e ntpctl/ntpctl ] && dobin ntpctl/ntpctl
44 if use tpctlir && [ -e tpctlir/tpctlir ]; then
45 mv tpctlir/README README.tpctlir
46 dodoc README.tpctlir
47 dobin tpctlir/tpctlir
48 fi
49 if use perl ; then
50 mv apmiser/README README.apmiser
51 dodoc README.apmiser
52 dosbin apmiser/apmiser
53 newinitd "${FILESDIR}"/apmiser.rc apmiser
54 fi
55 }

  ViewVC Help
Powered by ViewVC 1.1.20