blob: dbc6f6619dad9cc911d940c317cf67c4ad4f33d8 [file] [log] [blame]
# Copyright 2017 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2.
EAPI=5
# Disable cros-workon auto-uprev since this is an external package.
# Must manage commit hash manually.
CROS_WORKON_BLACKLIST="1"
CROS_WORKON_COMMIT="v${PV}"
CROS_WORKON_PROJECT="external/github.com/gorilla/websocket"
CROS_WORKON_DESTDIR="${S}/src/github.com/gorilla/websocket"
CROS_GO_PACKAGES=(
"github.com/gorilla/websocket"
)
CROS_GO_TEST=(
"${CROS_GO_PACKAGES[@]}"
)
inherit cros-workon cros-go
DESCRIPTION="A WebSocket implementation for Go"
HOMEPAGE="https://github.com/gorilla/websocket"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="*"
IUSE=""
RESTRICT="binchecks strip"
DEPEND=""
RDEPEND=""