libmosquitto: Prevent cmake build
[termux-packages] / packages / libmosquitto / build.sh
CommitLineData
5e4916ed 1TERMUX_PKG_DESCRIPTION="MQTT library"
cb7ce574 2TERMUX_PKG_HOMEPAGE=https://mosquitto.org/
5e4916ed 3TERMUX_PKG_VERSION=1.4.10
cb7ce574 4TERMUX_PKG_SRCURL=https://mosquitto.org/files/source/mosquitto-${TERMUX_PKG_VERSION}.tar.gz
5e4916ed 5TERMUX_PKG_SHA256=437648d68a4a781dd8d913814cd5451f59ab4a5fcf84cccaf7c36e6a07459770
5e4916ed
NWF
6TERMUX_PKG_BUILD_IN_SRC=Yes
7TERMUX_PKG_DEPENDS="c-ares, openssl"
8TERMUX_PKG_MAINTAINER="Nathaniel Wesley Filardo @nwf"
9
298654c8
FF
10termux_step_configure() {
11 # Prevent cmake configuration.
12 return
13}
14
15termux_step_make() {
16 for i in lib client; do make -C $i; done
5e4916ed
NWF
17}
18termux_step_make_install() {
298654c8 19 for i in lib client; do make -C $i DESTDIR=${TERMUX_PREFIX} install; done
5e4916ed
NWF
20}
21