diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2010-05-11 22:24:22 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-11 22:24:22 +0200 |
commit | 6a27b08bfcdd889fe2013ae1f1d9aea945455bb8 (patch) | |
tree | 9ba9f18e2e0ddea69b31e1a7f6b17fef8233e52c /libraries/rlog/rlog.SlackBuild | |
parent | 135a1f540f4999ed0da91d4538decf9c0ea4fd66 (diff) | |
download | slackbuilds-6a27b08bfcdd889fe2013ae1f1d9aea945455bb8.tar.gz |
libraries/rlog: Updated for version 1.4
Diffstat (limited to 'libraries/rlog/rlog.SlackBuild')
-rw-r--r-- | libraries/rlog/rlog.SlackBuild | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/libraries/rlog/rlog.SlackBuild b/libraries/rlog/rlog.SlackBuild index 03920b3e20..cc16cf5632 100644 --- a/libraries/rlog/rlog.SlackBuild +++ b/libraries/rlog/rlog.SlackBuild @@ -1,9 +1,8 @@ #!/bin/sh # Slackware build script for rlog -# Written by ppr:kut <hmwiesinger@gmx.at> -# Copyright 2007 Heinz Wiesinger +# Copyright 2007-2008 Heinz Wiesinger <pprkut@liwjatan.at> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,13 +22,12 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -set -e - PRGNAM=rlog -VERSION=1.3.7 +VERSION=1.4 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -39,13 +37,17 @@ if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" fi +set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tgz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -56,7 +58,9 @@ CXXFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ - --disable-static + --disable-static \ + --build=$ARCH-slackware-linux \ + --host=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG |