Skip to content

Commit

Permalink
app-emulation/vagrant-bin-1.7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Godin committed Dec 15, 2015
1 parent 9c1e3c3 commit 1c20e25
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app-emulation/vagrant-bin/Manifest
@@ -0,0 +1,2 @@
DIST vagrant_1.7.4_i686.deb 70976540 SHA256 050411ba8b36e322c4ce32990d2539e73a87fabd932f7397d2621986084eda6a SHA512 f889f7ebe22a2149bafafb09e41da5f4551ef239f9ab813a39ec77ae7787b424080f438b58c1ed964a20f558da424e602653d0615fc9b2dcec6d2d54e52dca45 WHIRLPOOL d3769e54762bf7446de071fbff4632a92a2902c8ac44ffcc7fe11a21f9f5e147010a26514acf6356d89ff147fa61114607dada11eb75d89ecd17f8e6623e7ab5
DIST vagrant_1.7.4_x86_64.deb 73329796 SHA256 dcd2c2b5d7ae2183d82b8b363979901474ba8d2006410576ada89d7fa7668336 SHA512 3104f9f51aac039529385e6f8d76fa7337822ae282c5cdc1dd5327aa785e4677182fc5c22860060b84313709a6ad1a2e09f18e91130361118c6fb281989de51d WHIRLPOOL 4467499186300bb08ef24409ef6b8a68ea7c81572d76d866b852a584f9874a520326c86386721c66c151ea1b9894632e27ab1f7ebf8c712b5dbf6719d54fc9d1
46 changes: 46 additions & 0 deletions app-emulation/vagrant-bin/vagrant-bin-1.7.4.ebuild
@@ -0,0 +1,46 @@
# Copyright 1999-2015 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_AMD64="https://dl.bintray.com/mitchellh/${MY_PN}/${MY_PN}_${PV}_x86_64.deb"
SRC_URI_X86="https://dl.bintray.com/mitchellh/${MY_PN}/${MY_PN}_${PV}_i686.deb"
SRC_URI="
amd64? ( ${SRC_URI_AMD64} )
x86? ( ${SRC_URI_X86} )
"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

S="${WORKDIR}/opt/${MY_PN}"

DEPEND=""
RDEPEND="${DEPEND}
app-arch/libarchive
net-misc/curl
!app-emulation/vagrant
"

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}"
}

0 comments on commit 1c20e25

Please sign in to comment.