aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/xdot/README4
-rw-r--r--graphics/xdot/xdot.SlackBuild5
-rw-r--r--graphics/xdot/xdot.info2
3 files changed, 6 insertions, 5 deletions
diff --git a/graphics/xdot/README b/graphics/xdot/README
index 96f7b6f68e009..4f759cca63389 100644
--- a/graphics/xdot/README
+++ b/graphics/xdot/README
@@ -8,11 +8,11 @@ xdot.py can be used either as a standalone application from command line, or
as a library embedded in your python application.
Features:
- * Since it doesn't use bitmaps it is fast and has a small memory footprint.
+ * Since it doesn't use bitmaps, it is fast and has a small memory footprint.
* Arbitrary zoom.
* Keyboard/mouse navigation.
* Supports events on the nodes with URLs.
* Animated jumping between nodes.
* Highlights node/edge under mouse.
-This package requires Graphviz and PyGTK, both avalaible at SlackBuilds.org.
+This requires graphviz and pygtk.
diff --git a/graphics/xdot/xdot.SlackBuild b/graphics/xdot/xdot.SlackBuild
index 53a0b98131286..c2cf0b124821d 100644
--- a/graphics/xdot/xdot.SlackBuild
+++ b/graphics/xdot/xdot.SlackBuild
@@ -51,8 +51,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-python setup.py bdist
-tar -xvf dist/$PRGNAM-$VERSION.linux-i686.tar.gz -C $PKG
+python setup.py install --root=$PKG
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
@@ -69,4 +68,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/graphics/xdot/xdot.info b/graphics/xdot/xdot.info
index 19cdb35cfcbdd..252ebc98a7d97 100644
--- a/graphics/xdot/xdot.info
+++ b/graphics/xdot/xdot.info
@@ -3,6 +3,8 @@ VERSION="20090403"
HOMEPAGE="http://code.google.com/p/jrfonseca/wiki/XDot"
DOWNLOAD="http://slackbuilds.org/sources/12.2/xdot-20090403.tar.bz2"
MD5SUM="10cd274d114d4192a799f27336fb3410"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Marco Bonetti"
EMAIL="sid77@slackware.it"
APPROVED="dsomero"