mosquitto: move to usr/bin.

This commit is contained in:
Juan RP 2015-06-02 17:46:17 +02:00
parent 3d946b749b
commit 78d5356bc1

View file

@ -1,7 +1,7 @@
# Template file for 'mosquitto'
pkgname=mosquitto
version=1.4.2
revision=1
revision=2
build_style=gnu-makefile
make_build_args="WITH_TLS_PSK=no" # not supported by libressl
make_install_args="prefix=/usr"
@ -14,6 +14,9 @@ homepage="http://mosquitto.org/"
distfiles="http://mosquitto.org/files/source/mosquitto-${version}.tar.gz"
checksum=5ebc3800a0018bfbec62dcc3748fb29f628df068acd39c62c4ef651d9276647e
pre_install() {
sed -i 's,sbin,bin,g' */Makefile
}
post_install() {
mv ${DESTDIR}/etc/${pkgname}/${pkgname}.conf.example \
${DESTDIR}/etc/${pkgname}/${pkgname}.conf