summaryrefslogtreecommitdiff
path: root/libraries/rrdtool/rrdtool.SlackBuild
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2010-07-10 00:54:43 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-07-10 02:17:59 -0500
commit3fd75b6ee27aa1818f2cdd79092288f6bb383008 (patch)
treee5b7015d7a650350963699e4b546e940835ae815 /libraries/rrdtool/rrdtool.SlackBuild
parent942cbdeabd2fc6f313dd4eb1cb1201dadaba1209 (diff)
downloadslackbuilds-3fd75b6ee27aa1818f2cdd79092288f6bb383008.tar.gz
libraries/rrdtool: Updated for version 1.4.4.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/rrdtool/rrdtool.SlackBuild')
-rw-r--r--libraries/rrdtool/rrdtool.SlackBuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/libraries/rrdtool/rrdtool.SlackBuild b/libraries/rrdtool/rrdtool.SlackBuild
index c2345b688e..977f3e6f81 100644
--- a/libraries/rrdtool/rrdtool.SlackBuild
+++ b/libraries/rrdtool/rrdtool.SlackBuild
@@ -5,11 +5,11 @@
# Originally written by <youngmug@animeneko.net>
# Modified by the SlackBuilds.org team.
# Versions >= 1.4.2 maintained by Niels Horn <niels.horn@gmail.com>
-# revision date: 2010/03/31
+# revision date: 2010/07/09
PRGNAM=rrdtool
-VERSION=1.4.3
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.4.4}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -61,6 +61,9 @@ cd $TMP/$PRGNAM-$VERSION
chown -R root:root .
chmod -R a-s,u+w,go+r-w .
+# Correct hard-coded path to lua libs (thanks to pprkut for spotting this one!)
+sed "s|/lib/lua|/lib${LIBDIRSUFFIX}/lua|g" -i configure
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
RRDDOCDIR=/usr/doc/$PRGNAM-$VERSION \
@@ -69,8 +72,10 @@ RRDDOCDIR=/usr/doc/$PRGNAM-$VERSION \
--mandir=/usr/man \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--disable-static \
+ --with-tcllib=/usr/lib${LIBDIRSUFFIX} \
--build=$ARCH-slackware-linux$ARCHQUADLET \
- --with-perl-options='INSTALLDIRS=vendor'
+ --with-perl-options='INSTALLDIRS=vendor' \
+ --with-ruby-options="sitedir=\${DESTDIR}/usr/lib${LIBDIRSUFFIX}/ruby/vendor_ruby"
make