ports/contrib (3.5): bbswitch: initial import, version 0.8
![](https://secure.gravatar.com/avatar/df8330968b6df8cd1c1942c5fb4b720c.jpg?s=120&d=mm&r=g)
commit fa5ef259cea1c360acb0ed13eb9ab89ebd442fa7 Author: Matt Housh <jaeger@crux.ninja> Date: Thu Aug 16 16:05:57 2018 -0500 bbswitch: initial import, version 0.8 diff --git a/bbswitch/.footprint b/bbswitch/.footprint new file mode 100644 index 00000000..6271c00f --- /dev/null +++ b/bbswitch/.footprint @@ -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 diff --git a/bbswitch/.md5sum b/bbswitch/.md5sum new file mode 100644 index 00000000..3aab23e5 --- /dev/null +++ b/bbswitch/.md5sum @@ -0,0 +1 @@ +5b116b31ace3604ddf9d1fc1f4bc5807 bbswitch-0.8.tar.gz diff --git a/bbswitch/.signature b/bbswitch/.signature new file mode 100644 index 00000000..d5619f3a --- /dev/null +++ b/bbswitch/.signature @@ -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 diff --git a/bbswitch/Pkgfile b/bbswitch/Pkgfile new file mode 100644 index 00000000..7497c058 --- /dev/null +++ b/bbswitch/Pkgfile @@ -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....) + +build() { + cd $name-$version + make + install -D -m 0644 $name.ko $PKG/lib/modules/$(uname -r)/misc/$name.ko +}
participants (1)
-
crux@crux.nu