virtualbox-additions-5.1.16.ebuild 729 B

123456789101112131415161718192021222324252627282930313233343536
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. inherit eutils
  5. MY_PN=VBoxGuestAdditions
  6. MY_PV="${PV/beta/BETA}"
  7. MY_PV="${MY_PV/rc/RC}"
  8. MY_P=${MY_PN}_${MY_PV}
  9. DESCRIPTION="CD image containing guest additions for VirtualBox"
  10. HOMEPAGE="http://www.virtualbox.org/"
  11. SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.iso"
  12. LICENSE="GPL-2+ LGPL-2.1+ MIT SGI-B-2.0 CDDL"
  13. SLOT="0"
  14. KEYWORDS="~amd64 ~x86"
  15. IUSE=""
  16. RESTRICT="mirror"
  17. RDEPEND="!app-emulation/virtualbox-bin
  18. !=app-emulation/virtualbox-9999"
  19. S="${WORKDIR}"
  20. src_unpack() {
  21. return 0
  22. }
  23. src_install() {
  24. insinto /usr/share/${PN/-additions}
  25. newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso
  26. }