diff options
author | Cédric Krier <cedk@gentoo.org> | 2008-04-05 11:41:21 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2008-04-05 11:41:21 +0000 |
commit | 8bfaa63fff239946e4b3bb9156e069bcbcc74b18 (patch) | |
tree | 355991100dc2b7da4c684ac082da4cf1f88827ed /app-laptop/macbook-backlight/macbook-backlight-0.2.ebuild | |
parent | Fix doins -> doins -r, also use mv instead of cp to be faster and catch symli... (diff) | |
download | gentoo-2-8bfaa63fff239946e4b3bb9156e069bcbcc74b18.tar.gz gentoo-2-8bfaa63fff239946e4b3bb9156e069bcbcc74b18.tar.bz2 gentoo-2-8bfaa63fff239946e4b3bb9156e069bcbcc74b18.zip |
Version bump
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-laptop/macbook-backlight/macbook-backlight-0.2.ebuild')
-rw-r--r-- | app-laptop/macbook-backlight/macbook-backlight-0.2.ebuild | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app-laptop/macbook-backlight/macbook-backlight-0.2.ebuild b/app-laptop/macbook-backlight/macbook-backlight-0.2.ebuild new file mode 100644 index 000000000000..749699a1b046 --- /dev/null +++ b/app-laptop/macbook-backlight/macbook-backlight-0.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2008 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.2.ebuild,v 1.1 2008/04/05 11:41:21 cedk Exp $ + +inherit toolchain-funcs eutils flag-o-matic + +DESCRIPTION="a tool to control the backlight intensity of macbook" +HOMEPAGE="http://dev.gentoo.org/~cedk/macbook-backlight/" +SRC_URI="http://dev.gentoo.org/~cedk/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 +} |