# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=5 inherit multilib unpacker eutils MY_COMMIT="a40522f5fabccb9ddabad03d836e120ff5d14093" DESCRIPTION="Vagrant is a tool for building complete development environments." HOMEPAGE="http://www.vagrantup.com/" SRC_URI_BASE="http://files.vagrantup.com/packages/${MY_COMMIT}" SRC_URI="x86? ( ${SRC_URI_BASE}/${PN/-bin/}_${PV}_i686.deb ) amd64? ( ${SRC_URI_BASE}/${PN/-bin/}_${PV}_x86_64.deb )" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" RESTRICT="test strip" DEPEND="" RDEPEND="${DEPEND}" S="${WORKDIR}/opt/vagrant" QA_PREBUILT="*" src_install() { local version flapper dodir /opt/vagrant cp -r ./* "${ED}opt/vagrant" make_wrapper vagrant /opt/vagrant/bin/vagrant }