libraries/zeromq: Fixed build number and cleanup whitespace.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
dsomero 2011-03-27 18:12:04 -04:00 committed by Robby Workman
parent d0bef78f0f
commit e25041e878

View file

@ -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