[Lunar-commits] <moonbase-other> virtualbox-module: make it build fine.
Florin Braescu
florin at lunar-linux.org
Fri Jul 26 20:03:34 CEST 2013
commit a430be497b7a278647edd360fae58219e7ee55cc
Author: Florin Braescu <florin at lunar-linux.org>
Date: Fri, 26 Jul 2013 11:01:25 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/a430be497b7a278647edd360fae58219e7ee55cc
virtualbox-module: make it build fine.
---
kernel/virtualbox-module/BUILD | +5/-2
kernel/virtualbox-module/DETAILS | +3/-2
kernel/virtualbox-module/POST_INSTALL | +0/-2
kernel/virtualbox-module/PRE_BUILD | +1/-0
4 files changed, 9 insertions(+), 6 deletions(-)
--- a/kernel/virtualbox-module/BUILD
+++ b/kernel/virtualbox-module/BUILD
@@ -1,5 +1,8 @@
-cd /usr/lib/virtualbox/src &&
+cd /usr/lib/virtualbox/src &&
KERN_DIR=/usr/src/linux &&
-default_make
+default_make &&
+
+make clean
+
--- a/kernel/virtualbox-module/DETAILS
+++ b/kernel/virtualbox-module/DETAILS
@@ -1,7 +1,8 @@
MODULE=virtualbox-module
VERSION=`module_version VirtualBox`
- SOURCE=$MODULE-$VERSION.tar.bz2
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/src/
+ SOURCE=VirtualBox-$VERSION.tar.bz2
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/VirtualBox-$VERSION
+ SOURCE_URL=http://download.virtualbox.org/virtualbox/$VERSION
WEB_SITE=http://virtualbox.org
ENTERED=20090202
UPDATED=20110501
--- a/kernel/virtualbox-module/POST_INSTALL
+++ /dev/null
@@ -1,2 +0,0 @@
-# Remove the sources directory
-rm -fR $SOURCE_DIRECTORY
--- /dev/null
+++ b/kernel/virtualbox-module/PRE_BUILD
@@ -0,0 +1 @@
+# Do not unpach VirtualBox sources
More information about the Lunar-commits
mailing list