aboutsummaryrefslogtreecommitdiff
path: root/libraries/rrdtool/rrdtool.SlackBuild
diff options
context:
space:
mode:
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 c2345b688e8c7..977f3e6f818c0 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