virtualbox-ose: update to 4.2.18.

This commit is contained in:
Juan RP 2013-09-13 09:18:33 +02:00
parent 375f9c0d6a
commit d3aa7ecfbb

View file

@ -1,8 +1,8 @@
# Template file for 'virtualbox-ose' # Template file for 'virtualbox-ose'
pkgname=virtualbox-ose pkgname=virtualbox-ose
_vbox_distver=4.2.16 _vbox_distver=4.2.18
version=${_vbox_distver} version=${_vbox_distver}
revision=2 revision=1
wrksrc="VirtualBox-${version}" wrksrc="VirtualBox-${version}"
patch_args="-Np1" patch_args="-Np1"
short_desc="General-purpose full virtualizer for x86 hardware" short_desc="General-purpose full virtualizer for x86 hardware"
@ -10,7 +10,7 @@ maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://virtualbox.org" homepage="http://virtualbox.org"
license="GPL-2, MPL-1.1, CDDL" license="GPL-2, MPL-1.1, CDDL"
distfiles="http://download.virtualbox.org/virtualbox/$version/VirtualBox-$version.tar.bz2" distfiles="http://download.virtualbox.org/virtualbox/$version/VirtualBox-$version.tar.bz2"
checksum=ff0f8916d039120554d9d73c7cae1863d6161933374374ec2f5313892046d45a checksum=9dbddf393b029c549249f627d12040c1d257972bc09292969b8819a31ab78d74
only_for_archs="i686 x86_64" only_for_archs="i686 x86_64"
@ -19,21 +19,18 @@ makedepends="openssl-devel libcurl-devel libpng-devel>=1.6
alsa-lib-devel pulseaudio-devel SDL-devel qt-devel libXcursor-devel alsa-lib-devel pulseaudio-devel SDL-devel qt-devel libXcursor-devel
libXinerama-devel libXcomposite-devel libIDL-devel libglib-devel libXinerama-devel libXcomposite-devel libIDL-devel libglib-devel
pam-devel python-devel libxslt-devel libcap-devel xorg-server-devel>=1.14 pam-devel python-devel libxslt-devel libcap-devel xorg-server-devel>=1.14
device-mapper-devel docbook-xsl linux-headers" device-mapper-devel docbook-xsl"
if [ "$XBPS_MACHINE" = "x86_64" ]; then if [ "$XBPS_MACHINE" = "x86_64" ]; then
makedepends+=" gcc-c++-multilib" makedepends+=" gcc-c++-multilib"
fi fi
do_build() { do_build() {
local _khdrver=$($XBPS_UHELPER_CMD version kernel-headers)
cp ${FILESDIR}/LocalConfig.kmk . cp ${FILESDIR}/LocalConfig.kmk .
ln -s /bin/echo makeself ln -s /bin/echo makeself
./configure --disable-docs --disable-java --enable-vde \ ./configure --disable-docs --disable-java --enable-vde \
--disable-python --disable-kmods \ --disable-python --disable-kmods --nofatal
--nofatal --with-linux=/usr/src/kernel-headers-${_khdrver}
source ./env.sh source ./env.sh
kmk ${makejobs} all kmk ${makejobs} all
} }