summaryrefslogtreecommitdiff
blob: ccb351b5eced637e63ab4655cfba473d080335d2 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-laptop/macbook-backlight/macbook-backlight-0.1.ebuild,v 1.2 2007/04/27 00:06:00 beandog Exp $

inherit toolchain-funcs

DESCRIPTION="a tool to control the backlight intensity of macbook"
HOMEPAGE="http://akira.ced.homedns.org/macbook-backlight/"
SRC_URI="http://akira.ced.homedns.org/macbook-backlight/${P}.tar.gz"

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

DEPEND="sys-apps/pciutils"
RDEPEND=$DEPEND

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

src_install() {
	emake DESTDIR="${D}" PREFIX="/usr" install || die "emake install failed"
	dodoc README
}