diff options
-rw-r--r-- | main/mosquitto/APKBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/main/mosquitto/APKBUILD b/main/mosquitto/APKBUILD index da860435b9..35d3218699 100644 --- a/main/mosquitto/APKBUILD +++ b/main/mosquitto/APKBUILD @@ -1,14 +1,15 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=mosquitto pkgver=1.4 -pkgrel=0 +pkgrel=1 pkgdesc="An Open Source MQTT v3.1 Broker" url="http://mosquitto.org/" arch="all" license="BSD" depends="" depends_dev="" -makedepends="$depends_dev openssl-dev c-ares-dev util-linux-dev" +makedepends="$depends_dev openssl-dev c-ares-dev util-linux-dev + libwebsockets-dev" install="$pkgname.pre-install" subpackages="$pkgname-dev $pkgname-doc $pkgname-libs++:_pp $pkgname-libs $pkgname-clients" @@ -35,7 +36,11 @@ prepare() { build() { cd "$_builddir" - make WITH_MEMORY_TRACKING=no prefix=/usr || return 1 + make \ + WITH_MEMORY_TRACKING=no \ + WITH_WEBSOCKETS=yes \ + WITH_SRV=yes \ + prefix=/usr || return 1 } package() { |