diff --git a/sdk_container/src/third_party/coreos-overlay/app-admin/updatectl/updatectl-1.1.0.ebuild b/sdk_container/src/third_party/coreos-overlay/app-admin/updatectl/updatectl-1.1.0.ebuild new file mode 120000 index 0000000000..137d1ab4d5 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/app-admin/updatectl/updatectl-1.1.0.ebuild @@ -0,0 +1 @@ +updatectl-9999.ebuild \ No newline at end of file diff --git a/sdk_container/src/third_party/coreos-overlay/app-admin/updatectl/updatectl-9999.ebuild b/sdk_container/src/third_party/coreos-overlay/app-admin/updatectl/updatectl-9999.ebuild new file mode 100644 index 0000000000..dbf789436a --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/app-admin/updatectl/updatectl-9999.ebuild @@ -0,0 +1,35 @@ +# Copyright (c) 2014 CoreOS, Inc.. All rights reserved. +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +CROS_WORKON_PROJECT="coreos/updatectl" +CROS_WORKON_LOCALNAME="updatectl" +CROS_WORKON_REPO="git://github.com" + +if [[ "${PV}" == 9999 ]]; then + KEYWORDS="~amd64" +else + CROS_WORKON_COMMIT="ba223e9b8c05ade82ee780b224d1707bfd2e0ce5" # tag v1.1.0 + KEYWORDS="amd64" +fi + +inherit cros-workon + +DESCRIPTION="CoreUpdate Management CLI" +HOMEPAGE="https://github.com/coreos/updatectl" +SRC_URI="" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" + +DEPEND=">=dev-lang/go-1.2" + +src_compile() { + ./build || die +} + +src_install() { + # Temporary until the name is fixed + newbin ${S}/bin/${P} updatectl +}