summaryrefslogtreecommitdiff
path: root/libraries/zeromq/zeromq.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/zeromq/zeromq.SlackBuild')
-rw-r--r--libraries/zeromq/zeromq.SlackBuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/libraries/zeromq/zeromq.SlackBuild b/libraries/zeromq/zeromq.SlackBuild
index 5a8c0ef2c7..2bb14e0771 100644
--- a/libraries/zeromq/zeromq.SlackBuild
+++ b/libraries/zeromq/zeromq.SlackBuild
@@ -4,10 +4,10 @@
# Written by Patrick Pippen (dabittweiler@gmail.com)
-PRGNAM=zeromq
-VERSION=${VERSION:-2.1.0}
-BUILD=${BUILD:-1_plp}
-TAG=${TAG:-_SBo}
+PRGNAM=zeromq
+VERSION=${VERSION:-2.1.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,9 +19,9 @@ fi
CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
+TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
+OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@@ -60,10 +60,10 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--sysconfdir=/etc \
- --localstatedir=/var
+ --localstatedir=/var
-make
-make install DESTDIR=$PKG
+make
+make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true