summaryrefslogtreecommitdiff
blob: 7b148a26165fdcb1387488fdcc6810832318a337 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit toolchain-funcs

DESCRIPTION="Shows in a tail-like way information of the battery-state, fan-states, temperatures."
HOMEPAGE="http://www.vanheusden.com/acpitail/"
SRC_URI="${HOMEPAGE}/${P}.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="sys-libs/libacpi"
DEPEND="${RDEPEND}"

src_compile() {
	emake \
		CC=$(tc-getCC) || \
		die "emake failed"
}

src_install() {
	dobin ${PN} || die "installation of ${PN} failed"
	dodoc readme.txt || die "nothing to read"
}