aboutsummaryrefslogtreecommitdiffstats
path: root/main/mosquitto/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/mosquitto/APKBUILD')
-rw-r--r--main/mosquitto/APKBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/main/mosquitto/APKBUILD b/main/mosquitto/APKBUILD
index 0dce68a15e..435a1ff568 100644
--- a/main/mosquitto/APKBUILD
+++ b/main/mosquitto/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mosquitto
pkgver=1.3
-pkgrel=0
+pkgrel=1
pkgdesc="An Open Source MQTT v3.1 Broker"
url="http://mosquitto.org/"
arch="all"
@@ -11,7 +11,8 @@ depends_dev=""
makedepends="$depends_dev openssl-dev python-dev c-ares-dev"
install="$pkgname.pre-install"
subpackages="$pkgname-dev $pkgname-doc py-$pkgname:_py $pkgname-libs++:_pp
- $pkgname-libs $pkgname-utils"
+ $pkgname-libs $pkgname-clients"
+replaces="mosquitto-utils"
source="http://mosquitto.org/files/source/mosquitto-$pkgver.tar.gz
mosquitto.initd"
@@ -49,20 +50,23 @@ package() {
_py() {
pkgdesc="Python binding to mosquitto"
+ replaces=
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/
}
_pp() {
pkgdesc="C++ wrapper for libmosquitto"
+ replaces=
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libmosquittopp.so.* "$subpkgdir"/usr/lib/
}
-utils() {
- pkgdesc="utilities for mosquitto"
- mkdir -p "$subpkgdir"/usr
- mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
+clients() {
+ pkgdesc="Mosquitto command line MQTT clients"
+ replaces="mosquitto-utils"
+ mkdir -p "$subpkgdir"/usr/bin
+ mv "$pkgdir"/usr/bin/mosquitto_[ps]ub "$subpkgdir"/usr/bin/
}
md5sums="1dfbbdcbf370d1669d76ff2d28a90b2e mosquitto-1.3.tar.gz