Merge pull request #1004 from k00mi/mosquitto

New package: mosquitto-1.4
This commit is contained in:
Juan RP 2015-02-21 22:32:03 +01:00
commit f730aee93a
7 changed files with 65 additions and 0 deletions

View file

@ -1923,3 +1923,5 @@ liblxqt-globalkeys-ui.so.0 lxqt-globalkeys-0.9.0_1
libenet.so.7 libenet-1.3.12_1
librrd.so.4 rrdtool-1.4.9_1
librrd_th.so.4 rrdtool-1.4.9_1
libmosquitto.so.1 libmosquitto-1.4_1
libmosquittopp.so.1 libmosquittopp-1.4_1

1
srcpkgs/libmosquitto Symbolic link
View file

@ -0,0 +1 @@
mosquitto

1
srcpkgs/libmosquitto-devel Symbolic link
View file

@ -0,0 +1 @@
mosquitto

1
srcpkgs/libmosquittopp Symbolic link
View file

@ -0,0 +1 @@
mosquitto

View file

@ -0,0 +1 @@
mosquitto

1
srcpkgs/mosquitto-clients Symbolic link
View file

@ -0,0 +1 @@
mosquitto

View file

@ -0,0 +1,58 @@
# Template file for 'mosquitto'
pkgname=mosquitto
version=1.4
revision=1
build_style=gnu-makefile
make_build_args="WITH_TLS_PSK=no" # not supported by libressl
make_install_args="prefix=/usr"
conf_files="/etc/mosquitto/mosquitto.conf"
makedepends="libressl-devel libuuid-devel"
short_desc="MQTT version 3.1/3.1.1 compatible message broker"
maintainer="Lukas Braun <koomi@hackerspace-bamberg.de>"
license="BSD"
homepage="http://mosquitto.org/"
distfiles="http://mosquitto.org/files/source/mosquitto-${version}.tar.gz"
checksum=591f3adcb6ed92c01f7ace1c878af728b797fe836892535620aa6106f42dbcc6
mosquitto-clients_package() {
short_desc="Mosquitto command line MQTT clients"
pkg_install() {
vmove usr/bin/mosquitto_pub
vmove usr/bin/mosquitto_sub
vmove usr/share/man/man1/mosquitto_pub.1
vmove usr/share/man/man1/mosquitto_sub.1
}
}
libmosquitto_package() {
short_desc="MQTT version 3.1/3.1.1 client library"
pkg_install() {
vmove "usr/lib/libmosquitto.so.*"
}
}
libmosquitto-devel_package() {
short_desc="MQTT version 3.1/3.1.1 client library - development files"
depends="libmosquitto-${version}_${revision}"
pkg_install() {
vmove usr/include/mosquitto.h
vmove usr/lib/libmosquitto.so
vmove usr/share/man/man3/libmosquitto.3
}
}
libmosquittopp_package() {
short_desc="MQTT version 3.1/3.1.1 C++ client library"
pkg_install() {
vmove "usr/lib/libmosquittopp.so.*"
}
}
libmosquittopp-devel_package() {
short_desc="MQTT version 3.1/3.1.1 C++ client library - development files"
depends="libmosquittopp-${version}_${revision}"
pkg_install() {
vmove usr/include/mosquittopp.h
vmove usr/lib/libmosquittopp.so
}
}