termux-packages/packages/stunnel/build.sh
2019-04-07 22:46:08 +02:00

15 lines
630 B
Bash

TERMUX_PKG_HOMEPAGE=https://www.stunnel.org/
TERMUX_PKG_DESCRIPTION="Socket wrapper which can provide TLS support to ordinary applications"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=5.51
TERMUX_PKG_REVISION=1
TERMUX_PKG_SHA256=77437cdd1aef1a621824bb3607e966534642fe90c69f4d2279a9da9fa36c3253
TERMUX_PKG_SRCURL=https://www.stunnel.org/downloads/stunnel-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_DEPENDS="openssl"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-shared --with-ssl=$TERMUX_PREFIX --disable-fips"
TERMUX_PKG_RM_AFTER_INSTALL="bin/stunnel3 share/man/man8/stunnel.*.8"
termux_step_pre_configure() {
LDFLAGS+=" -llog"
}