aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-03-21 14:48:06 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-03-21 14:48:06 +0000
commit9f0b5b630552fed6ad4ef3b6b3a9a67565d49678 (patch)
treef69712321556b4d7eb8f572604a3c413c04cd237 /main
parent2bddc61f12648399fa42fe1e69b26f94771cc0ef (diff)
downloadaports-9f0b5b630552fed6ad4ef3b6b3a9a67565d49678.tar.bz2
aports-9f0b5b630552fed6ad4ef3b6b3a9a67565d49678.tar.xz
main/mosquitto: rename -utils subpackage to -clients
let the passwd utility go with server package
Diffstat (limited to 'main')
-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