diff options
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 |