libcoap: Add package

This commit is contained in:
Fredrik Fornwall 2019-02-10 02:16:32 +01:00
parent e0933222d1
commit ec9a2cac81

12
packages/libcoap/build.sh Normal file
View File

@ -0,0 +1,12 @@
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.0-rc4
TERMUX_PKG_SHA256=8aa70c11fb1f1f443a9565c855f98027a50e8e0040310da86933770193e73b24
TERMUX_PKG_SRCURL=https://github.com/obgm/libcoap/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_DEPENDS="openssl"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-openssl --disable-doxygen"
termux_step_pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}