termux-packages/packages/libmosquitto/build.sh

20 lines
726 B
Bash
Raw Normal View History

2016-10-31 23:19:35 +01:00
TERMUX_PKG_HOMEPAGE=https://mosquitto.org/
TERMUX_PKG_DESCRIPTION="MQTT library"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="EPL-1.0"
2019-06-19 23:27:00 +02:00
TERMUX_PKG_MAINTAINER="Nathaniel Wesley Filardo @nwf"
2021-07-16 23:15:04 +02:00
TERMUX_PKG_VERSION=2.0.11
TERMUX_PKG_REVISION=4
2016-10-31 23:19:35 +01:00
TERMUX_PKG_SRCURL=https://mosquitto.org/files/source/mosquitto-${TERMUX_PKG_VERSION}.tar.gz
2021-07-16 23:15:04 +02:00
TERMUX_PKG_SHA256=7b36a7198bce85cf31b132f5c6ee36dcf5dadf86fb768501eb1e11ce95d4f78a
2021-07-16 23:31:42 +02:00
TERMUX_PKG_DEPENDS="c-ares, libc++, libcap, libwebsockets, openssl"
TERMUX_PKG_BREAKS="libmosquitto-dev"
TERMUX_PKG_REPLACES="libmosquitto-dev"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
2020-03-01 18:55:25 +01:00
-DWITH_BUNDLED_DEPS=ON
-DWITH_THREADING=ON
2019-01-31 15:38:07 +01:00
-DWITH_TLS_PSK=OFF
-DWITH_WEBSOCKETS=ON
-DWITH_SRV=ON
"
2020-07-02 21:21:20 +02:00
TERMUX_PKG_SERVICE_SCRIPT=("mosquitto" 'exec mosquitto 2>&1')