summaryrefslogtreecommitdiff
path: root/libre/virtualbox-modules/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-03-15 20:45:14 -0300
committerAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-03-15 20:45:14 -0300
commitdce432e650325e7b9463e24ae987895ec73a0a39 (patch)
tree6b35a5cec1555124c88590380856a0441c990808 /libre/virtualbox-modules/PKGBUILD
parentb2471c84ef9e31dd8fb53255148619c815d8b9eb (diff)
libre/virtualbox-modules
Diffstat (limited to 'libre/virtualbox-modules/PKGBUILD')
-rw-r--r--libre/virtualbox-modules/PKGBUILD32
1 files changed, 18 insertions, 14 deletions
diff --git a/libre/virtualbox-modules/PKGBUILD b/libre/virtualbox-modules/PKGBUILD
index 9359edfb2..a99a9ecaf 100644
--- a/libre/virtualbox-modules/PKGBUILD
+++ b/libre/virtualbox-modules/PKGBUILD
@@ -1,18 +1,22 @@
# $Id: PKGBUILD 62846 2012-01-27 17:21:04Z ibiru $
#Maintainer: Ionut Biru <ibiru@archlinux.org>
+#Contributor (Parabola): Jorge López <jorginho@adinet.com.uy>
pkgbase=virtualbox-modules
-pkgname=('virtualbox-modules' 'virtualbox-parabola-modules')
-pkgver=4.1.8
-pkgrel=3
+pkgname=('virtualbox-modules' 'virtualbox-libre-modules')
+pkgver=4.1.10
+pkgrel=1
arch=('i686' 'x86_64')
url='http://virtualbox.org'
license=('GPL')
+replaces=('virtualbox-modules')
+conflicts=('virtualbox-modules')
+provides=("virtualbox-modules=$pkgver")
makedepends=('libstdc++5' 'bin86' 'dev86' 'iasl' 'libxslt' 'libxml2' 'libpng' 'libidl2' 'xalan-c' 'sdl' 'linux-headers')
[[ $CARCH == "x86_64" ]] && makedepends=("${makedepends[@]}" 'gcc-multilib' 'lib32-glibc')
source=(http://download.virtualbox.org/virtualbox/${pkgver}/VirtualBox-${pkgver}.tar.bz2
LocalConfig.kmk 60-vboxguest.rules)
-md5sums=('2092bba46baa62fab5520d67dee2ece8'
+md5sums=('263e495ef3a7ab75943af28d446ee702'
'4c88bd122677a35f68abd76eb01b378b'
'ed1341881437455d9735875ddf455fbe')
@@ -23,7 +27,7 @@ export KERN_DIR=/lib/modules/${_kernver}/build
export KERN_INCL=/usr/src/linux-${_kernver}/include/
build() {
- cd "$srcdir/VirtualBox-${pkgver}_OSE"
+ cd "$srcdir/VirtualBox-${pkgver}"
cp "$srcdir/LocalConfig.kmk" .
@@ -43,22 +47,22 @@ build() {
source ./env.sh
kmk all
- make -C "$srcdir/VirtualBox-${pkgver}_OSE/out/linux.$BUILD_PLATFORM_ARCH/release/bin/src"
- make -C "$srcdir/VirtualBox-${pkgver}_OSE/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions/src"
+ make -C "$srcdir/VirtualBox-${pkgver}/out/linux.$BUILD_PLATFORM_ARCH/release/bin/src"
+ make -C "$srcdir/VirtualBox-${pkgver}/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions/src"
}
-package_virtualbox-parabola-modules(){
+package_virtualbox-libre-modules(){
pkgdesc="Additions only for Parabola guests (kernel modules)"
license=('GPL')
- install=virtualbox-parabola-modules.install
+ install=virtualbox-libre-modules.install
depends=('linux>=3.2' 'linux<3.3')
replaces=('virtualbox-guest-modules' 'virtualbox-archlinux-modules')
conflicts=('virtualbox-guest-modules' 'virtualbox-archlinux-modules')
provides=("virtualbox-archlinux-modules=$pkgver")
- source "$srcdir/VirtualBox-${pkgver}_OSE/env.sh"
+ source "$srcdir/VirtualBox-${pkgver}/env.sh"
- cd "$srcdir/VirtualBox-${pkgver}_OSE/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions/src"
+ cd "$srcdir/VirtualBox-${pkgver}/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions/src"
for module in vboxguest.ko vboxsf.ko vboxvideo.ko; do
install -D -m644 ${module} \
@@ -70,7 +74,7 @@ package_virtualbox-parabola-modules(){
find "${pkgdir}" -name '*.ko' -exec gzip -9 {} \;
- sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${_extramodules}'/" "$startdir/virtualbox-parabola-modules.install"
+ sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${_extramodules}'/" "$startdir/virtualbox-libre-modules.install"
}
package_virtualbox-modules(){
@@ -79,10 +83,10 @@ package_virtualbox-modules(){
install=virtualbox-modules.install
depends=('linux>=3.2' 'linux<3.3')
- source "$srcdir/VirtualBox-${pkgver}_OSE/env.sh"
+ source "$srcdir/VirtualBox-${pkgver}/env.sh"
- cd "$srcdir/VirtualBox-${pkgver}_OSE/out/linux.$BUILD_PLATFORM_ARCH/release/bin/src"
+ cd "$srcdir/VirtualBox-${pkgver}/out/linux.$BUILD_PLATFORM_ARCH/release/bin/src"
install -D -m644 vboxdrv.ko \
"$pkgdir/lib/modules/${_extramodules}/vboxdrv.ko"