2010-12-23 13:41:13 +00:00
|
|
|
# Template file for 'virtualbox-ose-guest'.
|
|
|
|
#
|
|
|
|
short_desc="${short_desc} - guest utilities"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
|
|
|
This package provides the guest utilities of the Open Source Edition of
|
|
|
|
VirtualBox. These utilities are meant to be run inside the virtual machine.
|
|
|
|
They provide closer integration and allow to share data through shared folders
|
|
|
|
between the host system and the virtual machine."
|
|
|
|
|
2011-11-10 10:54:34 +00:00
|
|
|
systemd_services="virtualbox-guest.service on"
|
2011-08-14 09:20:10 +00:00
|
|
|
Add_dependency run virtualbox-ose-guest-dkms ">=${version}"
|
2010-12-23 13:41:13 +00:00
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
2011-05-03 16:25:05 +00:00
|
|
|
cd ${wrksrc}
|
|
|
|
source ./env.sh
|
|
|
|
|
|
|
|
cd ${wrksrc}/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions
|
|
|
|
install -d ${DESTDIR}/usr/bin ${DESTDIR}/sbin
|
|
|
|
|
|
|
|
install -m755 VBoxClient VBoxControl VBoxService ${DESTDIR}/usr/bin
|
|
|
|
install -m755 mount.vboxsf ${DESTDIR}/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
|
2011-08-14 09:20:10 +00:00
|
|
|
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
|
2011-11-04 21:31:33 +00:00
|
|
|
install -Dm755 pam_vbox.so ${DESTDIR}/lib/security/pam_vbox.so
|
2011-08-14 09:20:10 +00:00
|
|
|
|
2011-10-10 14:35:52 +00:00
|
|
|
vinstall ${FILESDIR}/virtualbox-guest.service 644 lib/systemd/system
|
2010-12-23 13:41:13 +00:00
|
|
|
}
|