summaryrefslogtreecommitdiffstats
path: root/extra/virtualbox-bin/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-05-09 08:20:54 +0200
committersibel <lesibel@free.fr>2011-05-09 08:20:54 +0200
commitafce1c3022193e4dcbe99fb61682e8a763dffa7d (patch)
tree2631fb18c474db727efe8314db58f428aa2b085c /extra/virtualbox-bin/Pkgfile
parentb7d500a405f0752e09c74b6c356e2c9a416e348d (diff)
downloadnutyx-extra-afce1c3022193e4dcbe99fb61682e8a763dffa7d.tar.gz
nutyx-extra-afce1c3022193e4dcbe99fb61682e8a763dffa7d.tar.bz2
nutyx-extra-afce1c3022193e4dcbe99fb61682e8a763dffa7d.tar.xz
nutyx-extra-afce1c3022193e4dcbe99fb61682e8a763dffa7d.zip
virtualbox-bin 4.0.6-2 mise en place USB2 en post-insatll
Diffstat (limited to 'extra/virtualbox-bin/Pkgfile')
-rwxr-xr-xextra/virtualbox-bin/Pkgfile14
1 files changed, 10 insertions, 4 deletions
diff --git a/extra/virtualbox-bin/Pkgfile b/extra/virtualbox-bin/Pkgfile
index 01d582dab..e84b51181 100755
--- a/extra/virtualbox-bin/Pkgfile
+++ b/extra/virtualbox-bin/Pkgfile
@@ -6,13 +6,16 @@
name=virtualbox-bin
version=4.0.6
-release=1
+release=2
_release=71344
+_name=Oracle_VM_VirtualBox_Extension_Pack
+
[ "`uname -m`" == "i686" ] && _ARCH=x86
[ "`uname -m`" == "x86_64" ] && _ARCH=amd64
-source=(http://download.virtualbox.org/virtualbox/$version/VirtualBox-${version}-${_release}-Linux_${_ARCH}.run)
+source=(http://download.virtualbox.org/virtualbox/$version/VirtualBox-${version}-${_release}-Linux_${_ARCH}.run
+ http://download.virtualbox.org/virtualbox/$version/${_name}-${version}-${_release}.vbox-extpack)
build() {
sh VirtualBox-${version}-${_release}-Linux_${_ARCH}.run --keep --noexec --target $SRC/
@@ -37,6 +40,9 @@ build() {
echo "# VirtualBox installation directory" > \
$PKG/etc/vbox/vbox.cfg
echo "INSTALL_DIR="\"/opt/VirtualBox\" >> \
- $PKG/etc/vbox/vbox.cfg
+ $PKG/etc/vbox/vbox.cfgi
+
+ install -D -m 644 $SRC/${_name}-$version-${_release}.vbox-extpack \
+ $PKG/usr/share/virtualbox/extensions/vbox-extpack
}
-
+