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