16 lines
619 B
Bash
16 lines
619 B
Bash
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"
|
|
TERMUX_PKG_VERSION=4.2.1
|
|
TERMUX_PKG_REVISION=1
|
|
TERMUX_PKG_SRCURL=https://github.com/obgm/libcoap/archive/v$TERMUX_PKG_VERSION.tar.gz
|
|
TERMUX_PKG_SHA256=29a0394a265d3febee41e5e2dc03d34292a0aede37f5f80334e529ac0dab2321
|
|
TERMUX_PKG_DEPENDS="openssl"
|
|
TERMUX_PKG_BREAKS="libcoap-dev"
|
|
TERMUX_PKG_REPLACES="libcoap-dev"
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-openssl --disable-doxygen"
|
|
|
|
termux_step_pre_configure() {
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
}
|