2021-11-30 00:08:53 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://www.stunprotocol.org/
|
|
|
|
TERMUX_PKG_DESCRIPTION="An open source STUN server"
|
|
|
|
TERMUX_PKG_LICENSE="Apache-2.0"
|
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
|
|
TERMUX_PKG_VERSION=1.2.16
|
2022-03-01 04:52:15 +01:00
|
|
|
TERMUX_PKG_REVISION=2
|
2021-11-30 00:08:53 +01:00
|
|
|
TERMUX_PKG_SRCURL=http://www.stunprotocol.org/stunserver-${TERMUX_PKG_VERSION}.tgz
|
|
|
|
TERMUX_PKG_SHA256=4479e1ae070651dfc4836a998267c7ac2fba4f011abcfdca3b8ccd7736d4fd26
|
|
|
|
TERMUX_PKG_DEPENDS="libc++, openssl"
|
2022-03-01 15:16:18 +01:00
|
|
|
TERMUX_PKG_BUILD_DEPENDS="boost, boost-headers"
|
2021-11-30 00:08:53 +01:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
TERMUX_PKG_EXTRA_MAKE_ARGS="T=" # In case if environment variable `T` is defined
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
|
|
|
install -Dm700 -t $TERMUX_PREFIX/bin "$TERMUX_PKG_BUILDDIR/stunclient"
|
|
|
|
install -Dm700 -t $TERMUX_PREFIX/bin "$TERMUX_PKG_BUILDDIR/stunserver"
|
|
|
|
}
|