From 87edc1273d26b5ff56a5bdbdb7cdad8769f35a13 Mon Sep 17 00:00:00 2001 From: Joerg Deckert Date: Wed, 19 Jul 2017 08:05:59 +0200 Subject: [PATCH] new: app-emulation/open-vmdk --- app-portage/open-vmdk/Manifest | 2 ++ .../open-vmdk/open-vmdk-20141215.ebuild | 35 +++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 app-portage/open-vmdk/Manifest create mode 100644 app-portage/open-vmdk/open-vmdk-20141215.ebuild diff --git a/app-portage/open-vmdk/Manifest b/app-portage/open-vmdk/Manifest new file mode 100644 index 0000000..31c28d9 --- /dev/null +++ b/app-portage/open-vmdk/Manifest @@ -0,0 +1,2 @@ +DIST open-vmdk-20141215.zip 30087 SHA256 c22620e1fa429dd8b46a83ef578c52602113db854313e57261c5eb8fdae21852 SHA512 b04223fbc6084f2fc7b2c6cde878f3eb3533d84bd966a86f0e236b9b314ee838e03187cd3b22e51d64a98f7fe4f702e03b1e783573fc77e87ac55d0b5ba48487 WHIRLPOOL 83bbfd2af6bafdb01a23434641bea5752dddca1ad484c337c947fb2384c28647162f4e716f14ed238e576979090d1c87eea77aa8dec7dc8855675f3e33f35de8 +EBUILD open-vmdk-20141215.ebuild 779 SHA256 97dda3db0472c9ce1c66e518a7077f2e154127cc527a3a8051c19e802cbfc756 SHA512 9520223a6de6ccfc010dbf0b4e6ca4a6cac177b01d7173b3d0458c521c88c2f4e285cd15d76f1bee7303f3caebc6a4c852fbdab1c62d4e9f77d1bc93d115f46e WHIRLPOOL b5b147cd3f8e5239aef43adcb7069660ec85bf5b0389fc3d674903d3e0b64e1f9729a02da6c036456cb72ccc229d3a38cfe6c291b92c269db6a3a3d9f9f1a821 diff --git a/app-portage/open-vmdk/open-vmdk-20141215.ebuild b/app-portage/open-vmdk/open-vmdk-20141215.ebuild new file mode 100644 index 0000000..34ee6db --- /dev/null +++ b/app-portage/open-vmdk/open-vmdk-20141215.ebuild @@ -0,0 +1,35 @@ +# $Header: $ + +EAPI="6" + +COMMIT="82eb7268e78cc32907573b713569e1331c571ce5" + +PYTHON_COMPAT=( python3_{4,5,6} ) +inherit python-r1 + +DESCRIPTION="Convert VMware .vmdk images, build .ovf and .ova" +HOMEPAGE="https://github.com/vmware/open-vmdk" + +SRC_URI="https://github.com/vmware/open-vmdk/archive/${COMMIT}.zip -> ${P}.zip" +KEYWORDS="amd64 x86" + +LICENSE="Apache-2.0" +SLOT="0" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS}" +DEPEND=${RDEPEND} + +S=${WORKDIR}/${PN}-${COMMIT} + + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + + newbin ovf/mkovf.py mkovf || die "newbin failed" + python_replicate_script "${ED}"/usr/bin/mkovf || die "python_replicate_script failed" + + insinto /usr/share/${PN} + doins ova/template* +}