summaryrefslogtreecommitdiff
path: root/misc/mosquitto/mosquitto.SlackBuild
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@iinet.net.au>2015-02-23 22:28:42 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-23 22:50:49 +0700
commit3bc9b2a3a395abfe8d53de930f2b02b4a6bfde94 (patch)
tree0b90cc1baf5ecd9af046426a2b2171c48c79c878 /misc/mosquitto/mosquitto.SlackBuild
parent8532c7bb722cfcc71d752a173ca69a26e1439198 (diff)
downloadslackbuilds-3bc9b2a3a395abfe8d53de930f2b02b4a6bfde94.tar.gz
misc/mosquitto: Updated for version 1.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/mosquitto/mosquitto.SlackBuild')
-rw-r--r--misc/mosquitto/mosquitto.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/misc/mosquitto/mosquitto.SlackBuild b/misc/mosquitto/mosquitto.SlackBuild
index 55457c04e8..4c24e5ff0c 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.3.2}
+VERSION=${VERSION:-1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,6 +62,8 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+patch -p0 <$CWD/010_no-cmp0042.diff
+patch -p0 <$CWD/020_link-option.diff
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -76,7 +78,6 @@ cd build
-DLIB_SUFFIX=${LIBDIRSUFFIX}
make
make install DESTDIR=$PKG
- make -C ../lib/python install DESTDIR=$PKG prefix=/usr
cd ..
# Preserve existing mosquitto.conf during package installation
@@ -91,7 +92,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- LICENSE.txt LICENSE-3rd-party.txt compiling.txt mosquitto.conf *.example readme.txt \
+ LICENSE.txt CONTRIBUTING.md compiling.txt mosquitto.conf *.example examples readme.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild