blob: 3cb913431789cd3c8cb2c4cff3529e3503f03165 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-power/acpi/acpi-0.09.ebuild,v 1.1 2005/04/22 18:23:10 genstef Exp $
DESCRIPTION="Attempts to replicate the functionality of the 'old' apm command on ACPI systems, including battery and thermal information."
HOMEPAGE="http://grahame.angrygoats.net/acpi.shtml"
SRC_URI="http://grahame.angrygoats.net/source/acpi/${P}.tar.gz
mirror://debian/pool/main/a/acpi/${P/-/_}-1.diff.gz"
# debian diff only for the manpage
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~x86 ~amd64"
IUSE=""
RDEPEND="virtual/libc"
DEPEND="${RDEPEND}
sys-devel/gcc"
src_install() {
make DESTDIR=${D} install || die "make install failed"
dodoc AUTHORS ChangeLog README
cd ${WORKDIR}
patch -p1 < ${P/-/_}-1.diff
doman acpi.1
}
|