summaryrefslogtreecommitdiff
path: root/libraries/zeromq/zeromq.SlackBuild
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2011-03-27 18:12:04 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-03-27 22:03:14 -0500
commite25041e878fc80449eabeb45e4479ffa39c4d1a7 (patch)
tree217d80c663c33bf0b75922d0ff199cbc2bbe8fa7 /libraries/zeromq/zeromq.SlackBuild
parentd0bef78f0f92a5784059e988654c3f9659886071 (diff)
downloadslackbuilds-e25041e878fc80449eabeb45e4479ffa39c4d1a7.tar.gz
libraries/zeromq: Fixed build number and cleanup whitespace.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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