From 1d86304c053509d803e06e4ea70e31a89d12f294 Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Wed, 31 Dec 2014 15:29:42 -0800 Subject: [PATCH] coreos-devel/mantle: new SDK utility package Just the beginning for now, will eventually grow support for testing CoreOS builds and provide better integration with remote services like Google Cloud/Compute, Amazon, OpenStack clouds, etc. than we can achieve with our current collection of bash scripts. --- .../coreos-devel/mantle/mantle-0.0.1.ebuild | 1 + .../coreos-devel/mantle/mantle-9999.ebuild | 25 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 120000 sdk_container/src/third_party/coreos-overlay/coreos-devel/mantle/mantle-0.0.1.ebuild create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos-devel/mantle/mantle-9999.ebuild diff --git a/sdk_container/src/third_party/coreos-overlay/coreos-devel/mantle/mantle-0.0.1.ebuild b/sdk_container/src/third_party/coreos-overlay/coreos-devel/mantle/mantle-0.0.1.ebuild new file mode 120000 index 0000000000..3969bcbf54 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos-devel/mantle/mantle-0.0.1.ebuild @@ -0,0 +1 @@ +mantle-9999.ebuild \ No newline at end of file diff --git a/sdk_container/src/third_party/coreos-overlay/coreos-devel/mantle/mantle-9999.ebuild b/sdk_container/src/third_party/coreos-overlay/coreos-devel/mantle/mantle-9999.ebuild new file mode 100644 index 0000000000..344a9b08d2 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos-devel/mantle/mantle-9999.ebuild @@ -0,0 +1,25 @@ +# Copyright 2014 CoreOS, Inc. +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +CROS_WORKON_PROJECT="coreos/mantle" +CROS_WORKON_REPO="git://github.com" +COREOS_GO_PACKAGE="github.com/coreos/mantle" + +if [[ "${PV}" == 9999 ]]; then + KEYWORDS="~amd64" +else + CROS_WORKON_COMMIT="14c53ce56771da9bc9a3f80a2f05a2aa65780e60" + KEYWORDS="amd64" +fi + +inherit coreos-go cros-workon + +DESCRIPTION="Mantle: Gluing CoreOS together" +HOMEPAGE="https://github.com/coreos/mantle" +LICENSE="Apache-2" +SLOT="0" + +src_compile() { + go_build "${COREOS_GO_PACKAGE}"/plume +}