termux-packages/packages/miniupnpc/build.sh

14 lines
610 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"
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
2020-01-11 20:13:54 +01:00
TERMUX_PKG_VERSION=2.1.20191224
2019-11-10 17:31:16 +01:00
TERMUX_PKG_SRCURL=https://miniupnp.tuxfamily.org/files/miniupnpc-$TERMUX_PKG_VERSION.tar.gz
2020-01-11 20:13:54 +01:00
TERMUX_PKG_SHA256=447b427854b6c027ea28bc838b18582c5a7e71db84f6ff36df93bd91e46d66cf
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"
}