summaryrefslogtreecommitdiffstats
path: root/graphics/graphviz/graphviz.SlackBuild
diff options
context:
space:
mode:
author Audrius Kažukauskas <audrius@neutrino.lt>2011-05-31 20:53:41 -0400
committer Robby Workman <rworkman@slackbuilds.org>2011-06-13 01:31:21 -0400
commit6406e0f55941e527921436c91769e0feddd4caf0 (patch)
tree6083f125fddcad58303eb212df5c08bb8826a2b3 /graphics/graphviz/graphviz.SlackBuild
parent893279912d8d53d3c5657f8e023cf30138da03f0 (diff)
downloadslackbuilds-6406e0f55941e527921436c91769e0feddd4caf0.tar.gz
slackbuilds-6406e0f55941e527921436c91769e0feddd4caf0.tar.xz
graphics/graphviz: Updated for version 2.28.0
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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 26f0b53991..385a05f48f 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 {} \;