mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-10 03:41:41 +01:00
app-admin/sdnotify-proxy: Update to use coreos-go.eclass
Signed-off-by: Geoff Levand <geoff@infradead.org>
This commit is contained in:
parent
5c126c74d3
commit
f997ce7533
@ -1,10 +1,12 @@
|
||||
# Copyright (c) 2014 CoreOS, Inc.. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
CROS_WORKON_PROJECT="coreos/sdnotify-proxy"
|
||||
CROS_WORKON_LOCALNAME="sdnotify-proxy"
|
||||
CROS_WORKON_REPO="git://github.com"
|
||||
COREOS_GO_PACKAGE="github.com/coreos/sdnotify-proxy"
|
||||
inherit coreos-go cros-workon
|
||||
|
||||
if [[ "${PV}" == 9999 ]]; then
|
||||
KEYWORDS="~amd64"
|
||||
@ -13,8 +15,6 @@ else
|
||||
KEYWORDS="amd64"
|
||||
fi
|
||||
|
||||
inherit cros-workon
|
||||
|
||||
DESCRIPTION="sdnotify-proxy"
|
||||
HOMEPAGE="https://github.com/coreos/sdnotify-proxy"
|
||||
SRC_URI=""
|
||||
@ -26,10 +26,10 @@ IUSE=""
|
||||
DEPEND=">=dev-lang/go-1.3"
|
||||
|
||||
src_compile() {
|
||||
./build
|
||||
go_build "${COREOS_GO_PACKAGE}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/libexec
|
||||
doexe ${S}/bin/sdnotify-proxy
|
||||
doexe ${GOBIN}/sdnotify-proxy
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user