termux-packages/packages/miniupnpc/build.sh

13 lines
542 B
Bash
Raw Normal View History

2019-11-10 17:31:16 +01:00
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"
2020-10-17 19:01:47 +02:00
TERMUX_PKG_VERSION=2.1.20201016
2019-11-10 17:31:16 +01:00
TERMUX_PKG_SRCURL=https://miniupnp.tuxfamily.org/files/miniupnpc-$TERMUX_PKG_VERSION.tar.gz
2020-10-17 19:01:47 +02:00
TERMUX_PKG_SHA256=69f72fe355f911b807915f78dcfc0af772c0f22bc7ab1157e70f334e37db7d39
2019-11-10 17:31:16 +01:00
TERMUX_PKG_BREAKS="miniupnpc-dev"
TERMUX_PKG_REPLACES="miniupnpc-dev"
termux_step_post_make_install() {
install -Dm700 upnpc-static "$TERMUX_PREFIX/bin/upnpc"
}