Fix build errors for teleport-tsh
This commit is contained in:
parent
ea194a0576
commit
00885bee35
@ -3,11 +3,19 @@ TERMUX_PKG_DESCRIPTION="Secure Access for Developers that doesn't get in the way
|
||||
TERMUX_PKG_LICENSE="Apache-2.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=6.2.7
|
||||
TERMUX_PKG_SRCURL=https://github.com/gravitational/teleport/archive/refs/tags/v$TERMUX_PKG_VERSION.zip
|
||||
TERMUX_PKG_SHA256=89ac7e5164f6e40c00b469065727d4c71d8c4c6180b60c43958b2154e18069d5
|
||||
TERMUX_PKG_SKIP_SRC_EXTRACT=true
|
||||
|
||||
termux_step_make_install() {
|
||||
termux_setup_golang
|
||||
# TODO: Cache Golang dependency
|
||||
make full
|
||||
export GOPATH=$TERMUX_PKG_BUILDDIR
|
||||
export BUILDDIR=$TERMUX_PREFIX/bin
|
||||
|
||||
mkdir -p $GOPATH/src/github.com/gravitational
|
||||
cd $GOPATH/src/github.com/gravitational
|
||||
git clone https://github.com/gravitational/teleport.git
|
||||
cd teleport
|
||||
|
||||
git checkout "v$TERMUX_PKG_VERSION"
|
||||
termux_go_get
|
||||
make $BUILDDIR/tsh
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user