void-packages/srcpkgs/virtualbox-ose/virtualbox-ose-guest.template

34 lines
1.2 KiB
Text
Raw Normal View History

# Template file for 'virtualbox-ose-guest'.
#
systemd_services="vboxservice.service on"
2012-10-20 18:59:15 +00:00
depends="virtualbox-ose-guest-dkms-${version}_${revision}"
short_desc="${short_desc} - guest utilities"
2012-07-09 14:55:58 +00:00
do_install() {
2011-05-03 16:25:05 +00:00
source ./env.sh
cd ${wrksrc}/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions
2012-07-09 14:55:58 +00:00
vmkdir usr/bin
vmkdir usr/sbin
2011-05-03 16:25:05 +00:00
install -m755 VBoxClient VBoxControl VBoxService ${DESTDIR}/usr/bin
2012-07-09 14:55:58 +00:00
install -m755 mount.vboxsf ${DESTDIR}/usr/sbin
2011-11-04 21:31:33 +00:00
install -Dm755 ${wrksrc}/src/VBox/Additions/x11/Installer/vboxclient.desktop \
2011-05-03 16:25:05 +00:00
${DESTDIR}/etc/xdg/autostart/vboxclient.desktop
2011-10-04 10:54:49 +00:00
cd ${wrksrc}/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions
2012-03-14 15:49:06 +00:00
install -D vboxmouse_drv_16.so \
${DESTDIR}/usr/lib/xorg/modules/input/vboxmouse.so
install -D vboxvideo_drv_112.so \
2011-05-03 16:25:05 +00:00
${DESTDIR}/usr/lib/xorg/modules/drivers/vboxvideo.so
install -d ${DESTDIR}/usr/lib/xorg/modules/dri
install -m755 VBoxOGL*.so ${DESTDIR}/usr/lib
ln -sf /usr/lib/VBoxOGL.so \
2011-05-03 16:25:05 +00:00
${DESTDIR}/usr/lib/xorg/modules/dri/vboxvideo_dri.so
cd ${wrksrc}/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions
2012-07-09 14:55:58 +00:00
install -Dm755 pam_vbox.so ${DESTDIR}/usr/lib/security/pam_vbox.so
vinstall ${FILESDIR}/virtualbox-guest.conf 644 usr/lib/modules-load.d
vinstall ${FILESDIR}/vboxservice.service 644 usr/lib/systemd/system
}