2010-12-23 14:41:13 +01: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-10-11 05:45:41 +02:00
|
|
|
revision=2
|
|
|
|
systemd_services="virtualbox-guest.service"
|
2011-08-14 11:20:10 +02:00
|
|
|
|
2010-12-31 12:49:38 +01:00
|
|
|
Add_dependency run libgcc
|
2010-12-23 14:41:13 +01:00
|
|
|
Add_dependency run glibc
|
2011-10-04 12:54:49 +02:00
|
|
|
Add_dependency run libstdc++
|
2010-12-23 14:41:13 +01:00
|
|
|
Add_dependency run libX11
|
|
|
|
Add_dependency run libXrandr
|
|
|
|
Add_dependency run libXt
|
|
|
|
Add_dependency run libXext
|
|
|
|
Add_dependency run libXmu
|
|
|
|
Add_dependency run libXcomposite
|
|
|
|
Add_dependency run libXdamage
|
|
|
|
Add_dependency run libXfixes
|
|
|
|
Add_dependency run pam
|
|
|
|
Add_dependency run MesaLib
|
2011-08-14 11:20:10 +02:00
|
|
|
Add_dependency run virtualbox-ose-guest-dkms ">=${version}"
|
2010-12-23 14:41:13 +01:00
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
2011-05-03 18:25:05 +02: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
|
|
|
|
install -m755 -D ${wrksrc}/src/VBox/Additions/x11/Installer/vboxclient.desktop \
|
|
|
|
${DESTDIR}/etc/xdg/autostart/vboxclient.desktop
|
2011-10-04 12:54:49 +02:00
|
|
|
|
|
|
|
cd ${wrksrc}/out/linux.$BUILD_PLATFORM_ARCH/release/bin
|
2011-07-10 21:29:11 +02:00
|
|
|
install -D vboxmouse_drv.so \
|
2011-05-03 18:25:05 +02:00
|
|
|
${DESTDIR}/usr/lib/xorg/modules/input/vboxmouse.so
|
2011-10-04 12:54:49 +02:00
|
|
|
cd ${wrksrc}/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions
|
2011-07-10 21:29:11 +02:00
|
|
|
install -D vboxvideo_drv.so \
|
2011-05-03 18:25:05 +02: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 11:20:10 +02:00
|
|
|
ln -sf /usr/lib/VBoxOGL.so \
|
2011-05-03 18:25:05 +02:00
|
|
|
${DESTDIR}/usr/lib/xorg/modules/dri/vboxvideo_dri.so
|
|
|
|
cd ${wrksrc}/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions
|
|
|
|
install -m755 -D pam_vbox.so ${DESTDIR}/lib/security/pam_vbox.so
|
2011-08-14 11:20:10 +02:00
|
|
|
|
2011-10-10 16:35:52 +02:00
|
|
|
vinstall ${FILESDIR}/virtualbox-guest.service 644 lib/systemd/system
|
2010-12-23 14:41:13 +01:00
|
|
|
}
|