blob: b380a8bda44bf461b20e1c9117113d5c08b820c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# 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
}
|