1
0
forked from ports/contrib

bbswitch: initial import, version 0.8

This commit is contained in:
Matt Housh 2018-08-16 16:05:57 -05:00
parent f8d0408d57
commit fa5ef259ce
4 changed files with 25 additions and 0 deletions

5
bbswitch/.footprint Normal file
View File

@ -0,0 +1,5 @@
drwxr-xr-x root/root lib/
drwxr-xr-x root/root lib/modules/
drwxr-xr-x root/root lib/modules/<kernel-version>/
drwxr-xr-x root/root lib/modules/<kernel-version>/misc/
-rw-r--r-- root/root lib/modules/<kernel-version>/misc/bbswitch.ko

1
bbswitch/.md5sum Normal file
View File

@ -0,0 +1 @@
5b116b31ace3604ddf9d1fc1f4bc5807 bbswitch-0.8.tar.gz

5
bbswitch/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF354zgq4Ux9UdvI4YGfOkfO28NG4+ENVzXeBr4LZklDqVif/uThPdT+26QwgIbu1AzYhX/09b6LhetZo9NBHTIQw=
SHA256 (Pkgfile) = 7b8e1e8a4306ffe6833f26441d837049f383c3309498021ec718e6f2674fb141
SHA256 (.footprint) = 7440253c3fd2b9481f105ccb7585cab877c98be6b285c733695bdd6b51cbd459
SHA256 (bbswitch-0.8.tar.gz) = 76cabd3f734fb4fe6ebfe3ec9814138d0d6f47d47238521ecbd6a986b60d1477

14
bbswitch/Pkgfile Normal file
View File

@ -0,0 +1,14 @@
# 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)
build() {
cd $name-$version
make
install -D -m 0644 $name.ko $PKG/lib/modules/$(uname -r)/misc/$name.ko
}