summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-laptop/nvidia-bl/nvidia-bl-0.16.4.ebuild')
-rw-r--r--app-laptop/nvidia-bl/nvidia-bl-0.16.4.ebuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/app-laptop/nvidia-bl/nvidia-bl-0.16.4.ebuild b/app-laptop/nvidia-bl/nvidia-bl-0.16.4.ebuild
new file mode 100644
index 000000000..a64168b0c
--- /dev/null
+++ b/app-laptop/nvidia-bl/nvidia-bl-0.16.4.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils linux-mod linux-info
+
+DESCRIPTION="Nvidia-based graphics adapter backlight driver"
+HOMEPAGE="https://launchpad.net/~mactel-support"
+SRC_URI="https://launchpad.net/~mactel-support/+archive/ppa/+files/${PN}-dkms_${PV}~karmic.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+S="${WORKDIR}/${PN}-dkms-${PV}/usr/src/dkms_source_tree"
+
+MODULE_NAMES="nvidia_bl(kernel/drivers)"
+
+pkg_setup() {
+ kernel_is -lt 2 6 29 && die "kernel 2.6.29 or higher is required"
+ linux-mod_pkg_setup
+ BUILD_PARAMS="-C ${KV_DIR} M=${S}"
+ BUILD_TARGETS="nvidia_bl.ko"
+}