From 2bd47ab87eda16e1ed6c0bd377c0187fc8791fcc Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Mon, 21 Mar 2011 21:32:23 +0100 Subject: graphics/graphviz: More proper php support. Signed-off-by: Heinz Wiesinger --- graphics/graphviz/graphviz.SlackBuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'graphics/graphviz/graphviz.SlackBuild') 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 # Modified by Robby Workman +# Modified by Heinz Wiesinger 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 -- cgit v1.2.3