summaryrefslogtreecommitdiff
path: root/libraries/nltk
diff options
context:
space:
mode:
authorMarco Bonetti <sid77@slackware.it>2010-05-13 00:32:29 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:32:29 +0200
commitf529f9be20a1f2c1d988846f51a213bbd619d34e (patch)
tree3377ec1e167d6c9aa3dbd61491d522bba1350cde /libraries/nltk
parentc5713469618ea261298f2e568a63b7d08497ca79 (diff)
downloadslackbuilds-f529f9be20a1f2c1d988846f51a213bbd619d34e.tar.gz
libraries/nltk: Updated for version 0.9.8
Diffstat (limited to 'libraries/nltk')
-rw-r--r--libraries/nltk/nltk.SlackBuild5
-rw-r--r--libraries/nltk/nltk.info2
2 files changed, 4 insertions, 3 deletions
diff --git a/libraries/nltk/nltk.SlackBuild b/libraries/nltk/nltk.SlackBuild
index 0c8da3420d..988671acd6 100644
--- a/libraries/nltk/nltk.SlackBuild
+++ b/libraries/nltk/nltk.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 zxvf 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/libraries/nltk/nltk.info b/libraries/nltk/nltk.info
index a1c411a264..b4d2c4f26a 100644
--- a/libraries/nltk/nltk.info
+++ b/libraries/nltk/nltk.info
@@ -2,7 +2,9 @@ PRGNAM="nltk"
VERSION="0.9.8"
HOMEPAGE="http://www.nltk.org/"
DOWNLOAD="http://nltk.googlecode.com/files/nltk-0.9.8.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="954f614754a0d7cb58c83b5ec485ddda"
+MD5SUM_x86_64=""
MAINTAINER="Marco Bonetti"
EMAIL="sid77@slackware.it"
APPROVED="dsomero"