2016-10-31 22:01:12 +01:00
|
|
|
TERMUX_PKG_DESCRIPTION="MQTT library"
|
2016-10-31 23:19:35 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://mosquitto.org/
|
2016-10-31 22:01:12 +01:00
|
|
|
TERMUX_PKG_VERSION=1.4.10
|
2016-10-31 23:19:35 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://mosquitto.org/files/source/mosquitto-${TERMUX_PKG_VERSION}.tar.gz
|
2016-10-31 22:01:12 +01:00
|
|
|
TERMUX_PKG_SHA256=437648d68a4a781dd8d913814cd5451f59ab4a5fcf84cccaf7c36e6a07459770
|
|
|
|
TERMUX_PKG_BUILD_IN_SRC=Yes
|
|
|
|
TERMUX_PKG_DEPENDS="c-ares, openssl"
|
|
|
|
TERMUX_PKG_MAINTAINER="Nathaniel Wesley Filardo @nwf"
|
|
|
|
|
2017-01-15 21:12:41 +01:00
|
|
|
termux_step_configure() {
|
|
|
|
# Prevent cmake configuration.
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_make() {
|
|
|
|
for i in lib client; do make -C $i; done
|
2016-10-31 22:01:12 +01:00
|
|
|
}
|
|
|
|
termux_step_make_install() {
|
2017-01-15 21:12:41 +01:00
|
|
|
for i in lib client; do make -C $i DESTDIR=${TERMUX_PREFIX} install; done
|
2016-10-31 22:01:12 +01:00
|
|
|
}
|
|
|
|
|