# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-emulation/vagrant/vagrant-1.4.3-r2.ebuild,v 1.2 2014/04/02 16:20:56 vikraman Exp $ EAPI="5" USE_RUBY="ruby21 ruby20 ruby19" RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" RUBY_FAKEGEM_GEMSPEC="vagrant.gemspec" RUBY_FAKEGEM_EXTRAINSTALL="keys plugins templates version.txt" RUBY_FAKEGEM_TASK_DOC="" inherit ruby-fakegem eutils DESCRIPTION="A tool for building and distributing virtual machines using VirtualBox" HOMEPAGE="http://vagrantup.com/" SRC_URI="https://github.com/mitchellh/vagrant/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86 ~x64-macos" # Missing ebuild for contest RESTRICT="primaryuri test" IUSE="test" RDEPEND="${RDEPEND} app-arch/libarchive net-misc/curl !x64-macos? ( || ( app-emulation/virtualbox app-emulation/virtualbox-bin ) )" ruby_add_rdepend " >=dev-ruby/childprocess-0.5 >=dev-ruby/rspec-2.14 >=dev-ruby/thor-0.18.1 " all_ruby_prepare() { # remove bundler support sed -i '/[Bb]undler/d' Rakefile || die rm Gemfile || die epatch "${FILESDIR}"/${PN}-1.6.3-nfs.patch } pkg_postinst() { if use x64-macos ; then ewarn ewarn "For Mac OS X prefixes, you must install the virtualbox" ewarn "package specifically for OS X which can be found at:" ewarn "https://www.virtualbox.org/wiki/Downloads" ewarn fi }