2013-08-28 17:50:06 +02:00
|
|
|
# Template file for 'bbswitch'
|
|
|
|
pkgname=bbswitch
|
2014-06-03 00:00:38 +02:00
|
|
|
version=0.8
|
2015-07-27 00:48:03 +02:00
|
|
|
revision=2
|
2014-07-27 16:05:16 +02:00
|
|
|
hostmakedepends="git"
|
2013-08-28 17:50:06 +02:00
|
|
|
makedepends="dkms"
|
2014-01-01 16:10:11 +01:00
|
|
|
depends="dkms"
|
|
|
|
dkms_modules="${pkgname} ${version}"
|
|
|
|
triggers="dkms"
|
2013-08-28 17:50:06 +02:00
|
|
|
short_desc="kernel module allowing to switch dedicated graphics card on Optimus laptops"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-08-28 17:50:06 +02:00
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://github.com/Bumblebee-Project/bbswitch"
|
|
|
|
only_for_archs="i686 x86_64"
|
2015-07-27 00:48:03 +02:00
|
|
|
distfiles="https://github.com/Bumblebee-Project/bbswitch/archive/v$version.tar.gz"
|
|
|
|
checksum=76cabd3f734fb4fe6ebfe3ec9814138d0d6f47d47238521ecbd6a986b60d1477
|
2013-08-28 17:50:06 +02:00
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vinstall Makefile 644 usr/src/${pkgname}-${version}
|
|
|
|
vinstall bbswitch.c 644 usr/src/${pkgname}-${version}
|
|
|
|
sed "s,#MODULE_VERSION#,${version}," dkms/dkms.conf > \
|
|
|
|
${DESTDIR}/usr/src/${pkgname}-${version}/dkms.conf
|
|
|
|
}
|