aboutsummaryrefslogtreecommitdiff
path: root/graphics/graphviz/graphviz.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/graphviz/graphviz.SlackBuild')
-rw-r--r--graphics/graphviz/graphviz.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/graphics/graphviz/graphviz.SlackBuild b/graphics/graphviz/graphviz.SlackBuild
index 26f0b53991971..385a05f48fe73 100644
--- a/graphics/graphviz/graphviz.SlackBuild
+++ b/graphics/graphviz/graphviz.SlackBuild
@@ -7,8 +7,8 @@
# Modified by Heinz Wiesinger <pprkut@slackbuilds.org>
PRGNAM=graphviz
-VERSION=${VERSION:-2.26.3}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.28.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -49,6 +49,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+# Install PHP bindings to proper location.
+sed -i 's|/php/modules|/php/extensions|' configure
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -62,9 +65,7 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
-# Move php bindings to proper location and install config file
-mv $PKG/usr/lib$LIBDIRSUFFIX/php/modules \
- $PKG/usr/lib$LIBDIRSUFFIX/php/extensions
+# Install config file for PHP.
install -D -m 644 $CWD/graphviz.ini $PKG/etc/php/graphviz.ini.new
find $PKG/usr/man -type f -exec gzip -9 {} \;