diff options
author | cobex4 <cobex4 at gmail dot com> | 2010-11-14 20:54:35 +0100 |
---|---|---|
committer | cobex4 <cobex4 at gmail dot com> | 2010-11-14 20:54:35 +0100 |
commit | 40b114afcd34dd9ccf216a1f7b157271d450764b (patch) | |
tree | 7dede870e3a449dd1fd2002837ddb750b3e95f74 /acompiler/virtualbox-bin/Pkgfile | |
parent | aeb2717ea007d42ee0a64a23bf514537bc5f7639 (diff) | |
parent | 38f9d267a40c2702741d230557b99ae52e13ac87 (diff) | |
download | nutyx-extra-40b114afcd34dd9ccf216a1f7b157271d450764b.tar.gz nutyx-extra-40b114afcd34dd9ccf216a1f7b157271d450764b.tar.bz2 nutyx-extra-40b114afcd34dd9ccf216a1f7b157271d450764b.tar.xz nutyx-extra-40b114afcd34dd9ccf216a1f7b157271d450764b.zip |
Merge branch 'master' of ssh://kiao.no-ip.info:443/~/attapu
Diffstat (limited to 'acompiler/virtualbox-bin/Pkgfile')
-rwxr-xr-x | acompiler/virtualbox-bin/Pkgfile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/acompiler/virtualbox-bin/Pkgfile b/acompiler/virtualbox-bin/Pkgfile new file mode 100755 index 000000000..b44c50d4e --- /dev/null +++ b/acompiler/virtualbox-bin/Pkgfile @@ -0,0 +1,40 @@ +# Description: logiciel pour lancer un système virtualisé binaire +# URL: http://www.virtualbox.org +# Maintainer: NutyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: virtualbox-module, sdl + +name=virtualbox-bin +version=3.2.10 +release=2 +_release=66896 +source=(http://download.virtualbox.org/virtualbox/$version/VirtualBox-${version}-${_release}-Linux_x86.run) + + + +build() { + sh VirtualBox-${version}-${_release}-Linux_x86.run --keep --noexec --target $SRC/ + mkdir -p $PKG/opt/VirtualBox $PKG/etc/vbox $PKG/usr/bin $PKG/etc/udev/rules.d/ \ + $PKG/usr/share/applications/ $PKG/usr/share/pixmaps/ + cd $PKG/opt/VirtualBox + tar xfj $SRC/VirtualBox.tar.bz2 + rm -Rf $PKG/opt/VirtualBox/sdk + for i in VirtualBox VBoxManage VBoxSDL VBoxHeadless + do ln -s /opt/VirtualBox/VBox.sh $PKG/usr/bin/$i + done + cd components + for i in VBoxDDU.so VBoxREM.so VBoxRT.so VBoxVMM.so VBoxXPCOM.so + do ln -s ../$i . + done + ln -s /opt/VirtualBox/rdesktop-vrdp $PKG/usr/bin/rdesktop-vrdp + mv $PKG/opt/VirtualBox/VBox.png $PKG/usr/share/pixmaps/VBox.png + mv $PKG/opt/VirtualBox/virtualbox.desktop $PKG/usr/share/applications/virtualbox.desktop + chmod +s $PKG/opt/VirtualBox/{VirtualBox,VBoxSDL,VBoxHeadless} + echo "KERNEL==\"vboxdrv\", NAME=\"vboxdrv\", OWNER=\"root\", GROUP=\"vboxusers\", MODE=\"0660\"" > \ + $PKG/etc/udev/rules.d/60-vboxdrv.rules + echo "# VirtualBox installation directory" > \ + $PKG/etc/vbox/vbox.cfg + echo "INSTALL_DIR="\"/opt/VirtualBox\" >> \ + $PKG/etc/vbox/vbox.cfg +} + |