bumblebee: added runit service.
This commit is contained in:
parent
6b618479ae
commit
4a2dac74e7
2 changed files with 5 additions and 5 deletions
2
srcpkgs/bumblebee/files/bumblebeed/run
Executable file
2
srcpkgs/bumblebee/files/bumblebeed/run
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec bumblebeed --use-syslog
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'bumblebee'
|
# Template file for 'bumblebee'
|
||||||
pkgname=bumblebee
|
pkgname=bumblebee
|
||||||
version=3.2.1
|
version=3.2.1
|
||||||
revision=4
|
revision=5
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="
|
configure_args="
|
||||||
CONF_DRIVER_MODULE_NVIDIA=nvidia
|
CONF_DRIVER_MODULE_NVIDIA=nvidia
|
||||||
|
@ -26,13 +26,11 @@ distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
|
||||||
checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
|
checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e
|
||||||
|
|
||||||
only_for_archs="i686 x86_64"
|
only_for_archs="i686 x86_64"
|
||||||
|
|
||||||
build_options="systemd"
|
build_options="systemd"
|
||||||
if [ "$build_option_systemd" ]; then
|
replaces="runit-void<20141013_2"
|
||||||
systemd_services="bumblebeed.service true"
|
|
||||||
fi
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
vsv bumblebeed
|
||||||
# Install systemd service
|
# Install systemd service
|
||||||
if [ "$build_option_systemd" ]; then
|
if [ "$build_option_systemd" ]; then
|
||||||
vinstall scripts/systemd/bumblebeed.service 644 usr/lib/systemd/system
|
vinstall scripts/systemd/bumblebeed.service 644 usr/lib/systemd/system
|
||||||
|
|
Loading…
Add table
Reference in a new issue