forked from ports/contrib
17 lines
488 B
Plaintext
17 lines
488 B
Plaintext
# Description: A kernel module for automating module switches on optimus laptops
|
|
# URL: https://github.com/Bumblebee-Project/bbswitch
|
|
# Maintainer: Matt Housh, jaeger at crux dot ninja
|
|
|
|
name=bbswitch
|
|
version=0.8
|
|
release=1
|
|
source=(https://github.com/Bumblebee-Project/$name/archive/v$version/$name-$version.tar.gz \
|
|
$name-kernel56.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
patch -p1 -i $SRC/$name-kernel56.patch
|
|
make
|
|
install -D -m 0644 $name.ko $PKG/lib/modules/$(uname -r)/misc/$name.ko
|
|
}
|