summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/pyNeighborhood/pyNeighborhood.SlackBuild15
-rw-r--r--network/pyNeighborhood/pyNeighborhood.info6
2 files changed, 11 insertions, 10 deletions
diff --git a/network/pyNeighborhood/pyNeighborhood.SlackBuild b/network/pyNeighborhood/pyNeighborhood.SlackBuild
index ee5bf0afdc..a4459259c3 100644
--- a/network/pyNeighborhood/pyNeighborhood.SlackBuild
+++ b/network/pyNeighborhood/pyNeighborhood.SlackBuild
@@ -22,13 +22,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pyNeighborhood
-VERSION=${VERSION:-bzr20130124}
+SRCNAM=${PRGNAM/N/n}
+VERSION=${VERSION:-0.5.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -39,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -58,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
diff --git a/network/pyNeighborhood/pyNeighborhood.info b/network/pyNeighborhood/pyNeighborhood.info
index bf18c008d0..fb3f0eae6b 100644
--- a/network/pyNeighborhood/pyNeighborhood.info
+++ b/network/pyNeighborhood/pyNeighborhood.info
@@ -1,8 +1,8 @@
PRGNAM="pyNeighborhood"
-VERSION="bzr20130124"
+VERSION="0.5.4"
HOMEPAGE="https://launchpad.net/pyneighborhood"
-DOWNLOAD="http://unrealize.co.uk/source/pyNeighborhood-bzr20130124.tar.gz"
-MD5SUM="f71e1612ff6ce252ee895dc19ba8ef36"
+DOWNLOAD="https://launchpad.net/pyneighborhood/0.5/0.5.4/+download/pyneighborhood-0.5.4.tar.bz2"
+MD5SUM="32e2c0c5a3cb0fa750922088a18f4c01"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""