summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-emulation/vagrant-bin/Manifest1
-rw-r--r--app-emulation/vagrant-bin/vagrant-bin-1.6.5.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/app-emulation/vagrant-bin/Manifest b/app-emulation/vagrant-bin/Manifest
new file mode 100644
index 0000000..cdbd6bf
--- /dev/null
+++ b/app-emulation/vagrant-bin/Manifest
@@ -0,0 +1 @@
+DIST vagrant_1.6.5_x86_64.deb 71980908 SHA256 e2c7af6d032ac551ebd6399265cb9cb64402c9fb96a12289161b7f67afada28a SHA512 d6b1ed11793d33add8f2f56d514e6548156dd3f6d478a8518ab884670c419aa8b7a4c1657b70c91475b3bdcb94738880dcae51376844d824ec8e6864952185b6 WHIRLPOOL 502a3c29cc1dae78ae94660aca0d35c96695486c0523779b4759103b5e66a0a8fa15ac97438b1c07b2bb721c05698b93743249357515827f277be77a69a68fc9
diff --git a/app-emulation/vagrant-bin/vagrant-bin-1.6.5.ebuild b/app-emulation/vagrant-bin/vagrant-bin-1.6.5.ebuild
new file mode 100644
index 0000000..f554d00
--- /dev/null
+++ b/app-emulation/vagrant-bin/vagrant-bin-1.6.5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+MY_PN=${PN/-bin/}
+inherit unpacker eutils
+
+DESCRIPTION="Tool for building and distributing virtual machines"
+HOMEPAGE="http://vagrantup.com/"
+SRC_URI="https://dl.bintray.com/mitchellh/${MY_PN}/${MY_PN}_${PV}_x86_64.deb"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+S="${WORKDIR}/opt/${MY_PN}"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ app-arch/libarchive
+ net-misc/curl
+"
+
+RESTRICT="mirror"
+
+src_unpack() {
+ unpack_deb ${A}
+}
+
+src_install() {
+ local dir="/opt/${MY_PN}"
+ dodir ${dir}
+ cp -ar ./* "${ED}${dir}" || die "copy files failed"
+
+ make_wrapper "${MY_PN}" "${dir}/bin/${MY_PN}"
+}