| 1 |
mgorny |
1.2 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
angelos |
1.1 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
angelos |
1.3 |
# $Header: /var/cvsroot/gentoo-x86/app-laptop/nvidiabl/nvidiabl-0.70.ebuild,v 1.2 2012/04/23 19:19:09 mgorny Exp $
|
| 4 |
angelos |
1.1 |
|
| 5 |
|
|
EAPI=3
|
| 6 |
|
|
inherit linux-mod
|
| 7 |
|
|
|
| 8 |
|
|
DESCRIPTION="Linux driver for setting the backlight brightness on laptops using
|
| 9 |
|
|
NVIDIA GPU"
|
| 10 |
|
|
HOMEPAGE="https://github.com/guillaumezin/nvidiabl"
|
| 11 |
mgorny |
1.2 |
SRC_URI="mirror://github/guillaumezin/${PN}/${P}-source-only.dkms.tar.gz"
|
| 12 |
angelos |
1.1 |
|
| 13 |
|
|
LICENSE="GPL-2"
|
| 14 |
|
|
SLOT="0"
|
| 15 |
|
|
KEYWORDS="~amd64 ~x86"
|
| 16 |
|
|
IUSE=""
|
| 17 |
|
|
|
| 18 |
|
|
DEPEND=""
|
| 19 |
|
|
RDEPEND=""
|
| 20 |
|
|
|
| 21 |
|
|
BUILD_TARGETS="modules"
|
| 22 |
|
|
MODULE_NAMES="nvidiabl()"
|
| 23 |
|
|
CONFIG_CHECK="FB_BACKLIGHT"
|
| 24 |
|
|
|
| 25 |
|
|
S=${WORKDIR}/dkms_source_tree
|
| 26 |
|
|
|
| 27 |
|
|
src_compile() {
|
| 28 |
|
|
BUILD_PARAMS="KVER=${KV_FULL}"
|
| 29 |
|
|
linux-mod_src_compile
|
| 30 |
|
|
}
|