diff options
Diffstat (limited to 'app-emulation/virtualbox/virtualbox-1.3.4.ebuild')
-rw-r--r-- | app-emulation/virtualbox/virtualbox-1.3.4.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/app-emulation/virtualbox/virtualbox-1.3.4.ebuild b/app-emulation/virtualbox/virtualbox-1.3.4.ebuild new file mode 100644 index 000000000000..77c9e9e45836 --- /dev/null +++ b/app-emulation/virtualbox/virtualbox-1.3.4.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-1.3.4.ebuild,v 1.1 2007/02/12 17:28:00 jokey Exp $ + +inherit eutils linux-mod qt3 + +MY_P=VirtualBox-OSE-${PV} +DESCRIPTION="Softwarefamily of powerful x86 virtualization" +HOMEPAGE="http://www.virtualbox.org/" +SRC_URI="http://virtualbox.org/download/${PV}/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +RDEPEND="dev-libs/libIDL + >=dev-libs/libxslt-1.1.19 + dev-libs/xalan-c + dev-libs/xerces-c + media-libs/libsdl + x11-libs/libXcursor + $(qt_min_version 3.3.5)" +DEPEND="${REPEND} + sys-devel/bin86 + sys-devel/dev86 + sys-power/iasl" + +S=${WORKDIR}/${MY_P} + +BUILD_TARGETS="all" +BUILD_PARAMS="KERN_DIR=${KERNEL_DIR}" +MODULE_NAMES="vboxdrv(misc:${S}/out/linux.x86/release/bin/src:${S}/out/linux.x86/release/bin/src)" + +src_compile() { + cd "${S}" + ./configure || die "configure failed" + source ./env.sh + kmk all + linux-mod_src_compile +} + +src_install() { + linux-mod_src_install + cd "${S}"/out/linux.x86/release/bin + rm -rf sdk src tst* testcase additions/src + rm vboxdrv.ko SUPInstall SUPUninstall + insinto /opt/VirtualBox + doins -r * + for each in VBox{BFE,Manage,SDL,SVC,XPCOMIPCD} VirtualBox vditool xpidl additions/vboxadd-timesync ; do + fperms 0755 /opt/VirtualBox/${each} + done + make_wrapper vboxsvc "./VBoxSVC" "${ROOT}opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + make_wrapper virtualbox "./VirtualBox" "${ROOT}opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" +} |