summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorx-drum <x-drum@localhost>2009-07-27 23:09:06 +0000
committerx-drum <x-drum@localhost>2009-07-27 23:09:06 +0000
commite391e6aba2ce6e9b8cc4c57195e1150e0ae392df (patch)
tree446364a487a5d808d3ba1b7cb2806d9804c1468f /app-emulation/virtualbox-ose-additions/virtualbox-ose-additions-2.2.2.ebuild
parentadd RESTRICT="mirror" and check_license to comply with PUEL; replace RESTRICT... (diff)
downloadjokey-e391e6aba2ce6e9b8cc4c57195e1150e0ae392df.tar.gz
jokey-e391e6aba2ce6e9b8cc4c57195e1150e0ae392df.tar.bz2
jokey-e391e6aba2ce6e9b8cc4c57195e1150e0ae392df.zip
add RESTRICT="mirror" and check_license to comply with PUEL wrt bug #279198
svn path=/trunk/; revision=704
Diffstat (limited to 'app-emulation/virtualbox-ose-additions/virtualbox-ose-additions-2.2.2.ebuild')
-rw-r--r--app-emulation/virtualbox-ose-additions/virtualbox-ose-additions-2.2.2.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/app-emulation/virtualbox-ose-additions/virtualbox-ose-additions-2.2.2.ebuild b/app-emulation/virtualbox-ose-additions/virtualbox-ose-additions-2.2.2.ebuild
new file mode 100644
index 0000000..ada2175
--- /dev/null
+++ b/app-emulation/virtualbox-ose-additions/virtualbox-ose-additions-2.2.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose-additions/virtualbox-ose-additions-2.2.2.ebuild,v 1.1 2009/04/30 16:26:15 patrick Exp $
+
+EAPI=2
+
+inherit eutils
+
+MY_PN=VBoxGuestAdditions
+MY_P=${MY_PN}_${PV}
+
+DESCRIPTION="Guest additions for VirtualBox"
+HOMEPAGE="http://www.virtualbox.org/"
+SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.iso"
+
+LICENSE="PUEL"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="mirror"
+PROPERTIES="interactive"
+
+RDEPEND="!app-emulation/virtualbox-bin
+ !=app-emulation/virtualbox-ose-9999"
+
+pkg_setup() {
+ # We cannot mirror VirtualBox PUEL licensed files see:
+ # http://www.virtualbox.org/wiki/Licensing_FAQ
+ check_license
+}
+
+src_unpack() {
+ return 0
+}
+
+src_install() {
+ insinto /usr/share/${PN/-additions}
+ newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso
+}