summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-11 22:24:22 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:24:22 +0200
commit6a27b08bfcdd889fe2013ae1f1d9aea945455bb8 (patch)
tree9ba9f18e2e0ddea69b31e1a7f6b17fef8233e52c
parent135a1f540f4999ed0da91d4538decf9c0ea4fd66 (diff)
downloadslackbuilds-6a27b08bfcdd889fe2013ae1f1d9aea945455bb8.tar.gz
libraries/rlog: Updated for version 1.4
-rw-r--r--libraries/rlog/rlog.SlackBuild18
-rw-r--r--libraries/rlog/rlog.info10
-rw-r--r--libraries/rlog/slack-desc4
3 files changed, 18 insertions, 14 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
diff --git a/libraries/rlog/rlog.info b/libraries/rlog/rlog.info
index e4c4259e8a..e5576a57c0 100644
--- a/libraries/rlog/rlog.info
+++ b/libraries/rlog/rlog.info
@@ -1,8 +1,8 @@
PRGNAM="rlog"
-VERSION="1.3.7"
+VERSION="1.4"
HOMEPAGE="http://www.arg0.net/rlog"
-DOWNLOAD="http://rlog.googlecode.com/files/rlog-1.3.7.tgz"
-MD5SUM="b84df0d8a57ea676c4bf594c7a35cd25"
+DOWNLOAD="http://rlog.googlecode.com/files/rlog-1.4.tar.gz"
+MD5SUM="c29f74e0f50d66b20312d049b683ff82"
MAINTAINER="ppr:kut"
-EMAIL="HMWiesinger@gmx.at"
-APPROVED="rworkman"
+EMAIL="pprkut@liwjatan.at"
+APPROVED="David Somero" \ No newline at end of file
diff --git a/libraries/rlog/slack-desc b/libraries/rlog/slack-desc
index b50954cf98..fff36081fa 100644
--- a/libraries/rlog/slack-desc
+++ b/libraries/rlog/slack-desc
@@ -5,13 +5,13 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
- |-----handy-ruler------------------------------------------------------|
+ |-----handy-ruler--------------------------------------------------------|
rlog: rlog (C++ Logging Library)
rlog:
rlog: RLog provides a flexible message logging facility for C++ programs and
rlog: libraries. It is meant to be fast enough to leave in production code.
rlog:
-rlog: Homepage: http://pobox.com/~vgough/rlog
+rlog: Homepage: http://www.arg0.net/rlog
rlog:
rlog:
rlog: