LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File bbswitch.spec of Package bbswitch (Project home:frostmyname:bumblebee3)

Name:			bbswitch
BuildRequires:		%kernel_module_package_buildreqs 
License:		GPL 
Group:			System/Kernel
Summary:		ACPI module
Url:			http://github.com/Bumblebee-Project/bbswitch
Version:		0.4.1
Release:		0
Source0:		%name-%version.tar.gz 
BuildRoot:		%{_tmppath}/%{name}-%{version}-build


bbswitch is a kernel module which automatically detects the required ACPI calls for two kinds of Optimus laptops. 

set -- *
mkdir source
mv "$@" source/
mkdir obj

for flavor in %flavors_to_build; do
        rm -rf obj/$flavor
        cp -r source obj/$flavor
        make -C %{kernel_source $flavor} modules M=$PWD/obj/$flavor

export INSTALL_MOD_DIR=updates
for flavor in %flavors_to_build; do 
        make -C %{kernel_source $flavor} modules_install M=$PWD/obj/$flavor 

* Tue Jan 24 2012 frostmyname@gmail.com
- first package version