From a2f827e0ca89b57659e15e0b0f8aebd60550ffa4 Mon Sep 17 00:00:00 2001 From: mischief Date: Fri, 24 Apr 2015 14:58:49 -0700 Subject: [PATCH] app-emulation/actool: create ebuild for actool and include in image --- .../app-emulation/actool/actool-0.5.1.ebuild | 1 + .../app-emulation/actool/actool-9999.ebuild | 35 +++++++++++++++++++ .../coreos-base/coreos/coreos-0.0.1.ebuild | 1 + 3 files changed, 37 insertions(+) create mode 120000 sdk_container/src/third_party/coreos-overlay/app-emulation/actool/actool-0.5.1.ebuild create mode 100644 sdk_container/src/third_party/coreos-overlay/app-emulation/actool/actool-9999.ebuild diff --git a/sdk_container/src/third_party/coreos-overlay/app-emulation/actool/actool-0.5.1.ebuild b/sdk_container/src/third_party/coreos-overlay/app-emulation/actool/actool-0.5.1.ebuild new file mode 120000 index 0000000000..394b35eae1 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/app-emulation/actool/actool-0.5.1.ebuild @@ -0,0 +1 @@ +actool-9999.ebuild \ No newline at end of file diff --git a/sdk_container/src/third_party/coreos-overlay/app-emulation/actool/actool-9999.ebuild b/sdk_container/src/third_party/coreos-overlay/app-emulation/actool/actool-9999.ebuild new file mode 100644 index 0000000000..9e2e568caf --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/app-emulation/actool/actool-9999.ebuild @@ -0,0 +1,35 @@ +# Copyright (c) 2015 CoreOS, Inc. +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +CROS_WORKON_PROJECT="appc/spec" +CROS_WORKON_REPO="git://github.com" +# name of directory git repo is checked out into by manifest +CROS_WORKON_LOCALNAME="appc-spec" +COREOS_GO_PACKAGE="github.com/appc/spec" +inherit coreos-go cros-workon + +if [[ "${PV}" == 9999 ]]; then + KEYWORDS="~amd64" +else + CROS_WORKON_COMMIT="9a448f73b7fa765a60eade4bcca41e18bfe613aa" # v0.5.1 + KEYWORDS="amd64" +fi + +DESCRIPTION="App Container builder and validator" +HOMEPAGE="https://github.com/appc/spec" +SRC_URI="" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" + +DEPEND=">=dev-lang/go-1.3" + +src_compile() { + go_build "${COREOS_GO_PACKAGE}/actool" +} + +src_install() { + dobin "${WORKDIR}/gopath/bin/actool" +} diff --git a/sdk_container/src/third_party/coreos-overlay/coreos-base/coreos/coreos-0.0.1.ebuild b/sdk_container/src/third_party/coreos-overlay/coreos-base/coreos/coreos-0.0.1.ebuild index 24c981e487..429c175e7c 100644 --- a/sdk_container/src/third_party/coreos-overlay/coreos-base/coreos/coreos-0.0.1.ebuild +++ b/sdk_container/src/third_party/coreos-overlay/coreos-base/coreos/coreos-0.0.1.ebuild @@ -88,6 +88,7 @@ RDEPEND="${RDEPEND} " RDEPEND="${RDEPEND} + app-emulation/actool app-emulation/rkt app-emulation/xenstore app-emulation/xenserver-pv-version