aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-03-10 09:10:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-03-10 09:10:32 +0000
commitc35a091f0e4e5fef006a6caab17a3fa479044c0f (patch)
tree75e78529711932afc534e708e77ad5eb3e9a3e67 /main
parent45de6ca67346c14eb6f594419e39c654aabca072 (diff)
downloadaports-c35a091f0e4e5fef006a6caab17a3fa479044c0f.tar.bz2
aports-c35a091f0e4e5fef006a6caab17a3fa479044c0f.tar.xz
main/mosquitto: enable websockets and srv lookups
Diffstat (limited to 'main')
-rw-r--r--main/mosquitto/APKBUILD11
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() {