termux-packages/packages/corkscrew/build.sh
2020-11-05 12:50:49 +02:00

15 lines
633 B
Bash

TERMUX_PKG_HOMEPAGE=https://wiki.linuxquestions.org/wiki/Corkscrew
TERMUX_PKG_DESCRIPTION="A tool for tunneling SSH through HTTP proxies"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_DEPENDS="openssh"
TERMUX_PKG_VERSION=2.0
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://dl.bintray.com/termux/upstream/corkscrew-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=0d0fcbb41cba4a81c4ab494459472086f377f9edb78a2e2238ed19b58956b0be
termux_step_post_make_install() {
# Corkscrew does not distribute a man page, use one from debian:
mkdir -p $TERMUX_PREFIX/share/man/man1
cp $TERMUX_PKG_BUILDER_DIR/corkscrew.1 $TERMUX_PREFIX/share/man/man1
}