0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-03-04 04:48:55 +00:00
Termux Github Actions f80e8379ff bump(main/miniupnpc): 2.3.1
This commit has been automatically submitted by Github Actions.
2025-02-23 21:58:36 +00:00

22 lines
744 B
Bash

TERMUX_PKG_HOMEPAGE=https://miniupnp.tuxfamily.org/
TERMUX_PKG_DESCRIPTION="Small UPnP client library and tool to access Internet Gateway Devices"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="2.3.1"
TERMUX_PKG_SRCURL=https://miniupnp.tuxfamily.org/files/miniupnpc-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=6511374c31715b5a778c587539fdc1491e95ea07ef549f3a0a4f635812c918e4
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BREAKS="miniupnpc-dev"
TERMUX_PKG_REPLACES="miniupnpc-dev"
termux_step_post_make_install() {
ln -sfT upnpc-static "$TERMUX_PREFIX/bin/upnpc"
}
termux_step_post_massage() {
local _EXTERNAL_IP="bin/external-ip.sh"
if [ -f "${_EXTERNAL_IP}" ]; then
chmod 0700 "${_EXTERNAL_IP}"
fi
}