diff --git a/libraries/json-py/json-py.SlackBuild b/libraries/json-py/json-py.SlackBuild index 695a8ea9be..f15b962c49 100644 --- a/libraries/json-py/json-py.SlackBuild +++ b/libraries/json-py/json-py.SlackBuild @@ -23,9 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=json-py -SRCNAM=json VERSION=3.4 -SRCVERSION=3_4 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -35,6 +33,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +SRCVERSION=3_4 +SRCNAM=json DOCS="license.txt readme.txt" set -e @@ -59,8 +59,7 @@ chmod 644 *.txt # Add setup.py cat $CWD/setup.py > setup.py -python setup.py bdist -tar zxvf dist/$SRCNAM-$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 : | \ @@ -77,4 +76,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/json-py/json-py.info b/libraries/json-py/json-py.info index 5340968ce9..8fb43df918 100644 --- a/libraries/json-py/json-py.info +++ b/libraries/json-py/json-py.info @@ -2,7 +2,9 @@ PRGNAM="json-py" VERSION="3.4" HOMEPAGE="http://sourceforge.net/projects/json-py/" DOWNLOAD="http://downloads.sourceforge.net/sourceforge/json-py/json-py-3_4.zip" +DOWNLOAD_x86_64="" MD5SUM="921ebfede886a10ff32d6d4b4e216f8f" +MD5SUM_x86_64="" MAINTAINER="Marco Bonetti" EMAIL="sid77@slackware.it" APPROVED="dsomero"