blob: 492839c8f382ad91de1244c508cd492ad3d58949 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# 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
}
|