summaryrefslogtreecommitdiffstats
path: root/acompiler/virtualbox-module/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-08-24 21:04:10 +0200
committertnut <thierryn1 at hispeed dot ch>2010-08-24 21:04:10 +0200
commit98b9b5ac0ccca9207e0a3962835f4995b6323926 (patch)
tree5492f7ff7910c8721d107011ce6c155ce01f3578 /acompiler/virtualbox-module/Pkgfile
parent6540fde3beb8417b49ce541330ae95ea93262853 (diff)
downloadnutyx-extra-98b9b5ac0ccca9207e0a3962835f4995b6323926.tar.gz
nutyx-extra-98b9b5ac0ccca9207e0a3962835f4995b6323926.tar.bz2
nutyx-extra-98b9b5ac0ccca9207e0a3962835f4995b6323926.tar.xz
nutyx-extra-98b9b5ac0ccca9207e0a3962835f4995b6323926.zip
virtualbox-module dans acompiler
Diffstat (limited to 'acompiler/virtualbox-module/Pkgfile')
-rwxr-xr-xacompiler/virtualbox-module/Pkgfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/acompiler/virtualbox-module/Pkgfile b/acompiler/virtualbox-module/Pkgfile
new file mode 100755
index 000000000..43dd3f448
--- /dev/null
+++ b/acompiler/virtualbox-module/Pkgfile
@@ -0,0 +1,27 @@
+# Description: Modules kernel pour virtualbox
+# URL: http://www.virtualbox.org
+# Maintainer: NutyX core team
+# Packager: thierryn1 at hispeed dot ch
+
+name=virtualbox-module
+version=3.2.8
+release=1
+_name=VirtualBox
+_kernel=`uname -r|sed "s/-NuTyX//"`
+_build=64453
+source=(http://download.virtualbox.org/virtualbox/$version/${_name}-${version}-${_build}-Linux_x86.run)
+
+
+
+build() {
+ sh "VirtualBox-${version}-${_build}-Linux_x86.run" --target "$SRC" --keep --noexec
+ tar xfj VirtualBox.tar.bz2
+
+ mkdir -p $PKG/lib/modules/`uname -r`/kernel/drivers/misc/
+ cd src
+ make
+ install -D -m 0644 vboxdrv.ko \
+ $PKG/lib/modules/`uname -r`/kernel/drivers/misc/vboxdrv.ko
+ install -D -m 0644 vboxnetflt.ko \
+ $PKG/lib/modules/`uname -r`/kernel/drivers/misc/vboxnetflt.ko
+}