1 #Maintainer: John K. Luebs <jkluebs@luebsphoto.com>
3 pkgname=dkms-virtualbox
6 pkgdesc="Kernel modules (DKMS) for VirtualBox"
8 url='http://virtualbox.org'
11 provides=("virtualbox-modules")
12 conflicts=("virtualbox-modules")
13 install=${pkgname}.install
14 makedepends=('libstdc++5' 'bin86' 'dev86' 'iasl' 'libxslt' 'libxml2' 'libpng' 'libidl2' 'xalan-c' 'sdl' 'linux-headers')
15 [[ $CARCH == "x86_64" ]] && makedepends=("${makedepends[@]}" 'gcc-multilib' 'lib32-glibc')
17 source=(http://download.virtualbox.org/virtualbox/${pkgver}/VirtualBox-${pkgver}.tar.bz2
18 LocalConfig.kmk dkms.conf)
19 sha1sums=('4683e30aa32d0d6ca764e5ce366d7216705cf0f2'
20 '881ee7b1252cd93a4837472fd9088648de3d5840'
21 '9a9e9bae9d9ffb97c2790f830b535861cff18036')
24 cd "$srcdir/VirtualBox-${pkgver}_OSE"
26 cp "$srcdir/LocalConfig.kmk" .
29 --with-linux=/usr/src/linux-${_kernver} \
46 source "$srcdir/VirtualBox-${pkgver}_OSE/env.sh"
47 cd "$srcdir/VirtualBox-${pkgver}_OSE/out/linux.$BUILD_PLATFORM_ARCH/release/bin"
49 mkdir -p "${pkgdir}/usr/src"
50 cp -a src "${pkgdir}/usr/src/vboxhost-${pkgver}"
51 cp ${srcdir}/dkms.conf "${pkgdir}/usr/src/vboxhost-${pkgver}"