mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-21 22:41:09 +02:00
commit
f0bdb69a7c
1
sdk_container/src/third_party/coreos-overlay/app-emulation/rocket/rocket-0.2.0-r1.ebuild
vendored
Symbolic link
1
sdk_container/src/third_party/coreos-overlay/app-emulation/rocket/rocket-0.2.0-r1.ebuild
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
rocket-9999.ebuild
|
46
sdk_container/src/third_party/coreos-overlay/app-emulation/rocket/rocket-9999.ebuild
vendored
Normal file
46
sdk_container/src/third_party/coreos-overlay/app-emulation/rocket/rocket-9999.ebuild
vendored
Normal file
@ -0,0 +1,46 @@
|
||||
#
|
||||
# Copyright (c) 2014 CoreOS, Inc.. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header:$
|
||||
#
|
||||
|
||||
EAPI=4
|
||||
CROS_WORKON_PROJECT="coreos/rocket"
|
||||
CROS_WORKON_LOCALNAME="rocket"
|
||||
CROS_WORKON_REPO="git://github.com"
|
||||
inherit cros-workon
|
||||
|
||||
if [[ "${PV}" == 9999 ]]; then
|
||||
KEYWORDS="~amd64"
|
||||
else
|
||||
CROS_WORKON_COMMIT="aa939201219427bbab24a64f738816e8386cccaa" # v0.2.0
|
||||
KEYWORDS="amd64"
|
||||
fi
|
||||
|
||||
DESCRIPTION="rocket"
|
||||
HOMEPAGE="https://github.com/coreos/rocket"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
>=dev-lang/go-1.2
|
||||
dev-util/go-bindata
|
||||
"
|
||||
|
||||
src_unpack() {
|
||||
cros-workon_src_unpack
|
||||
${S}/stage1/rootfs/usr/cache.sh
|
||||
mv cache ${S}/stage1/rootfs/usr/
|
||||
GOPATH=${S}/gopath go get github.com/appc/spec/...
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
./build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${S}/bin/rkt
|
||||
}
|
24
sdk_container/src/third_party/coreos-overlay/dev-util/go-bindata/go-bindata-3.0.5-r1.ebuild
vendored
Normal file
24
sdk_container/src/third_party/coreos-overlay/dev-util/go-bindata/go-bindata-3.0.5-r1.ebuild
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
# Copyright 2014 CoreOS, Inc
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit coreos-go git
|
||||
|
||||
DESCRIPTION="A small utility which generates Go code from any file. Useful for
|
||||
embedding binary data in a Go program."
|
||||
HOMEPAGE="https://github.com/jteeuwen/go-bindata"
|
||||
|
||||
COREOS_GO_PACKAGE="github.com/jteeuwen/go-bindata"
|
||||
EGIT_REPO_URI="https://github.com/jteeuwen/go-bindata"
|
||||
EGIT_COMMIT="4a8e91e5cd96381a2d96bfa7541e63a81f7a3784"
|
||||
|
||||
LICENSE="CC0 1.0 Universal"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
|
||||
DEPEND="dev-lang/go"
|
||||
|
||||
src_compile() {
|
||||
go_build "${COREOS_GO_PACKAGE}"/go-bindata
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user