summaryrefslogtreecommitdiff
path: root/app-emulation/distrobuilder
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/distrobuilder')
-rw-r--r--app-emulation/distrobuilder/Manifest3
-rw-r--r--app-emulation/distrobuilder/distrobuilder-1.1.ebuild35
-rw-r--r--app-emulation/distrobuilder/metadata.xml12
3 files changed, 50 insertions, 0 deletions
diff --git a/app-emulation/distrobuilder/Manifest b/app-emulation/distrobuilder/Manifest
new file mode 100644
index 000000000000..820ced9ec2c3
--- /dev/null
+++ b/app-emulation/distrobuilder/Manifest
@@ -0,0 +1,3 @@
+DIST distrobuilder-1.1.tar.gz 17339508 BLAKE2B 5dc023520783301bfaaee9dbdb7f6707a565b6b7cde18afe53051c47cf4ec243be4f279846753f4fdab75f8aa3333fc4e74d90376390073e36edcb57a1d22815 SHA512 4638cb7ad34032a4ab6d6d85a07b92b7ee3ebc6fe34672d148b0574d487ca2a572fbcc700f829865faa77ec07f78e47555246cb8a2455c713d5051f19cbf8426
+EBUILD distrobuilder-1.1.ebuild 759 BLAKE2B e6df503b7a2bce89b37da161b374880119722daac5af6afc09475a8c90475b073451e14eea2dc9182f49e16f45c78a99d93b768673e6157e58ab1bd98c9142bf SHA512 ef4b60e7406e759a71abad1f4f866669cdb87e1601b2380b835641915ab30f05ecbb7316ebeb894cd5437b659bb2385ea74ada60e5eda4098209593c4877ae0a
+MISC metadata.xml 357 BLAKE2B eab7b95bf723d79709f9b786f311ee3a8c5ee191fdb0c27a63cbfb0e34f58f652789dbfce0bbde9f408022258191a90e2fb772ab72408fef69fb640db37c7df5 SHA512 20aee41747677a9eb1ecf6864b5da9ed51f8d0981d3a4d81456ddf8361691d0fd20fc0ad634b2a7ac0645b5085eb10b7b396779de390a8cf8fb9f8eba4b642b4
diff --git a/app-emulation/distrobuilder/distrobuilder-1.1.ebuild b/app-emulation/distrobuilder/distrobuilder-1.1.ebuild
new file mode 100644
index 000000000000..becaf0c0f236
--- /dev/null
+++ b/app-emulation/distrobuilder/distrobuilder-1.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit go-module linux-info
+
+DESCRIPTION="System container image builder for LXC and LXD"
+HOMEPAGE="https://linuxcontainers.org/distrobuilder/introduction/"
+SRC_URI="https://linuxcontainers.org/downloads/distrobuilder/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-util/debootstrap
+ app-crypt/gnupg
+ sys-fs/squashfs-tools
+ dev-vcs/git
+ net-misc/rsync
+ "
+
+CONFIG_CHECK="~OVERLAY_FS"
+RESTRICT+=" test"
+
+src_compile() {
+ cd _dist/src/github.com/lxc/distrobuilder || die "cd failed"
+ GO111MODULE="off" GOBIN="${S}/bin" GOPATH="${S}/_dist" \
+ go install ./... || die "compile failed"
+}
+
+src_install() {
+ dobin bin/*
+}
diff --git a/app-emulation/distrobuilder/metadata.xml b/app-emulation/distrobuilder/metadata.xml
new file mode 100644
index 000000000000..d9d7286d829f
--- /dev/null
+++ b/app-emulation/distrobuilder/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>williamh@gentoo.org</email>
+ <name>William Hubbs</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>posting@vodacomm.ca</email>
+ <name>Stephen Bosch</name>
+ </maintainer>
+</pkgmetadata>