summaryrefslogtreecommitdiff
blob: c92a6eeb48fd06ce46495a32140e97cb99f8646a (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-2006 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.3 2006/10/26 16:33:29 peper Exp $

inherit eutils

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="-* ~amd64 ~x86"
IUSE=""

DEPEND=""

src_install() {
	make DESTDIR="${D}" install || die "make install failed"
	dodoc AUTHORS ChangeLog README
	doman acpi.1

	cd "${WORKDIR}"
	epatch ${P/-/_}-1.diff
}