summaryrefslogtreecommitdiffstats
path: root/acompiler/virtualbox-bin/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-02-19 20:42:11 +0100
committertnut <thierryn1 at hispeed dot ch>2011-02-19 20:42:11 +0100
commitc229508b559b50f291c5d8093f12241bf7643eff (patch)
tree43f34b804fb66e95816773a33e6c669588f039bf /acompiler/virtualbox-bin/Pkgfile
parent260a7414149ea2c18c5250d1617dd1f547815910 (diff)
downloadnutyx-pakxe-c229508b559b50f291c5d8093f12241bf7643eff.tar.gz
nutyx-pakxe-c229508b559b50f291c5d8093f12241bf7643eff.tar.bz2
nutyx-pakxe-c229508b559b50f291c5d8093f12241bf7643eff.tar.xz
nutyx-pakxe-c229508b559b50f291c5d8093f12241bf7643eff.zip
virtualbox-bin, dans extra
Diffstat (limited to 'acompiler/virtualbox-bin/Pkgfile')
-rwxr-xr-xacompiler/virtualbox-bin/Pkgfile42
1 files changed, 0 insertions, 42 deletions
diff --git a/acompiler/virtualbox-bin/Pkgfile b/acompiler/virtualbox-bin/Pkgfile
deleted file mode 100755
index a0b3b1cbe..000000000
--- a/acompiler/virtualbox-bin/Pkgfile
+++ /dev/null
@@ -1,42 +0,0 @@
-# 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=4.0.4
-release=1
-_release=70112
-
-[ "`uname -m`" == "i686" ] && _ARCH=x86
-[ "`uname -m`" == "x86_64" ] && _ARCH=amd64
-
-source=(http://download.virtualbox.org/virtualbox/$version/VirtualBox-${version}-${_release}-Linux_${_ARCH}.run)
-
-build() {
- sh VirtualBox-${version}-${_release}-Linux_${_ARCH}.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
-}
-