summaryrefslogtreecommitdiff
path: root/graphics/graphviz/graphviz.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2011-03-21 21:32:23 +0100
committerRobby Workman <rworkman@slackbuilds.org>2011-03-24 19:22:35 -0500
commit2bd47ab87eda16e1ed6c0bd377c0187fc8791fcc (patch)
tree8d3fb59fef739fce0d3878d1a270b38c5a196b14 /graphics/graphviz/graphviz.SlackBuild
parent2dcab5ec2b3715c85d847d34f3a0657f56dd024f (diff)
downloadslackbuilds-2bd47ab87eda16e1ed6c0bd377c0187fc8791fcc.tar.gz
graphics/graphviz: More proper php support.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
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 64b22ddf13..26f0b53991 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