summaryrefslogtreecommitdiff
path: root/misc/mosquitto/mosquitto.SlackBuild
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2019-05-02 22:04:41 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-05-04 09:06:49 +0700
commit2f089671dd7d81636bfff9cbe47341c7a78b18ba (patch)
tree71fc8b28cd83bc61cd9984ec79f8ea3f6cd28fab /misc/mosquitto/mosquitto.SlackBuild
parent56543c54469acf78ae6edfeb00ae5c1e61cafd12 (diff)
downloadslackbuilds-2f089671dd7d81636bfff9cbe47341c7a78b18ba.tar.gz
misc/mosquitto: Updated for version 1.6.2
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Diffstat (limited to 'misc/mosquitto/mosquitto.SlackBuild')
-rw-r--r--misc/mosquitto/mosquitto.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/misc/mosquitto/mosquitto.SlackBuild b/misc/mosquitto/mosquitto.SlackBuild
index d2d92b2c18..5eeece10cb 100644
--- a/misc/mosquitto/mosquitto.SlackBuild
+++ b/misc/mosquitto/mosquitto.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mosquitto
-VERSION=${VERSION:-1.6.1}
+VERSION=${VERSION:-1.6.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,6 +62,12 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+
+# Fix pkgconfig entries & location
+sed -i -e 's:share/pkgconfig:lib${LIB_SUFFIX}/pkgconfig:g' CMakeLists.txt
+sed -i -e 's:libdir=${exec_prefix}/lib:libdir=${exec_prefix}/lib@LIB_SUFFIX@:' libmosquitto.pc.in
+sed -i -e 's:libdir=${exec_prefix}/lib:libdir=${exec_prefix}/lib@LIB_SUFFIX@:' libmosquittopp.pc.in
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \