| 1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-additions/virtualbox-additions-4.1.20.ebuild,v 1.1 2012/08/21 09:18:04 polynomial-c Exp $ |
| 4 |
|
| 5 |
EAPI=2 |
| 6 |
|
| 7 |
inherit eutils |
| 8 |
|
| 9 |
MY_PN=VBoxGuestAdditions |
| 10 |
MY_P=${MY_PN}_${PV} |
| 11 |
|
| 12 |
DESCRIPTION="CD image containing guest additions for VirtualBox" |
| 13 |
HOMEPAGE="http://www.virtualbox.org/" |
| 14 |
SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.iso" |
| 15 |
|
| 16 |
LICENSE="PUEL" |
| 17 |
SLOT="0" |
| 18 |
KEYWORDS="~amd64 ~x86" |
| 19 |
IUSE="" |
| 20 |
RESTRICT="mirror" |
| 21 |
|
| 22 |
RDEPEND="!app-emulation/virtualbox-bin |
| 23 |
!=app-emulation/virtualbox-9999" |
| 24 |
|
| 25 |
src_unpack() { |
| 26 |
return 0 |
| 27 |
} |
| 28 |
|
| 29 |
src_install() { |
| 30 |
insinto /usr/share/${PN/-additions} |
| 31 |
newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso |
| 32 |
} |