termux-packages/packages/libcoap/build.sh

15 lines
597 B
Bash
Raw Normal View History

2019-02-10 02:16:32 +01:00
TERMUX_PKG_HOMEPAGE=https://libcoap.net/
TERMUX_PKG_DESCRIPTION="Implementation of CoAP, a lightweight protocol for resource constrained devices"
TERMUX_PKG_LICENSE="BSD 2-Clause"
2019-11-20 23:54:56 +01:00
TERMUX_PKG_VERSION=4.2.1
TERMUX_PKG_SHA256=29a0394a265d3febee41e5e2dc03d34292a0aede37f5f80334e529ac0dab2321
2019-02-10 02:16:32 +01:00
TERMUX_PKG_SRCURL=https://github.com/obgm/libcoap/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_DEPENDS="openssl"
TERMUX_PKG_BREAKS="libcoap-dev"
TERMUX_PKG_REPLACES="libcoap-dev"
2019-02-10 02:16:32 +01:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-openssl --disable-doxygen"
termux_step_pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}