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.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/graphviz/graphviz.SlackBuild b/graphics/graphviz/graphviz.SlackBuild
index 64b22ddf1390..26f0b5399197 100644
--- a/graphics/graphviz/graphviz.SlackBuild
+++ b/graphics/graphviz/graphviz.SlackBuild
@@ -4,10 +4,11 @@
# Written by Audrius Kažukauskas <audrius@neutrino.lt>
# Modified by Robby Workman <rworkman@slackbuilds.org>
+# Modified by Heinz Wiesinger <pprkut@slackbuilds.org>
PRGNAM=graphviz
VERSION=${VERSION:-2.26.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -61,6 +62,11 @@ 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 -D -m 644 $CWD/graphviz.ini $PKG/etc/php/graphviz.ini.new
+
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done