diff options
author | William Hubbs <williamh@gentoo.org> | 2020-08-25 09:56:55 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2020-08-25 10:10:42 -0500 |
commit | 8fc5737fbea4a9e69fddb0b654498a5fc9eeb95a (patch) | |
tree | 23289cc1b4d94d143654d2085e136d99c631b068 /app-emulation/distrobuilder | |
parent | dev-lang/yasm: add ~ppc64 keyword (diff) | |
download | gentoo-8fc5737fbea4a9e69fddb0b654498a5fc9eeb95a.tar.gz gentoo-8fc5737fbea4a9e69fddb0b654498a5fc9eeb95a.tar.bz2 gentoo-8fc5737fbea4a9e69fddb0b654498a5fc9eeb95a.zip |
app-emulation/distrobuilder: image builder for lxc and lxd
Closes: https://bugs.gentoo.org/657478
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-emulation/distrobuilder')
-rw-r--r-- | app-emulation/distrobuilder/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/distrobuilder/distrobuilder-1.1.ebuild | 34 | ||||
-rw-r--r-- | app-emulation/distrobuilder/metadata.xml | 12 |
3 files changed, 47 insertions, 0 deletions
diff --git a/app-emulation/distrobuilder/Manifest b/app-emulation/distrobuilder/Manifest new file mode 100644 index 000000000000..787431ed6f34 --- /dev/null +++ b/app-emulation/distrobuilder/Manifest @@ -0,0 +1 @@ +DIST distrobuilder-1.1.tar.gz 17339508 BLAKE2B 5dc023520783301bfaaee9dbdb7f6707a565b6b7cde18afe53051c47cf4ec243be4f279846753f4fdab75f8aa3333fc4e74d90376390073e36edcb57a1d22815 SHA512 4638cb7ad34032a4ab6d6d85a07b92b7ee3ebc6fe34672d148b0574d487ca2a572fbcc700f829865faa77ec07f78e47555246cb8a2455c713d5051f19cbf8426 diff --git a/app-emulation/distrobuilder/distrobuilder-1.1.ebuild b/app-emulation/distrobuilder/distrobuilder-1.1.ebuild new file mode 100644 index 000000000000..f7356bcb22ba --- /dev/null +++ b/app-emulation/distrobuilder/distrobuilder-1.1.ebuild @@ -0,0 +1,34 @@ +# 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" + +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..c201375ad891 --- /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> |