summaryrefslogtreecommitdiff
path: root/libraries/xmpppy
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/xmpppy')
-rw-r--r--libraries/xmpppy/xmpppy.SlackBuild28
1 files changed, 14 insertions, 14 deletions
diff --git a/libraries/xmpppy/xmpppy.SlackBuild b/libraries/xmpppy/xmpppy.SlackBuild
index 4b09eabe72..bd19990c92 100644
--- a/libraries/xmpppy/xmpppy.SlackBuild
+++ b/libraries/xmpppy/xmpppy.SlackBuild
@@ -24,26 +24,26 @@
PRGNAM=xmpppy
VERSION=0.5.0rc1
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
- case "$(uname -m)" in
- i?86) export ARCH=i486 ;;
- arm*) export ARCH=arm ;;
- *) export ARCH=$( uname -m ) ;;
- esac
+ case "$(uname -m)" in
+ i?86) export ARCH=i486 ;;
+ arm*) export ARCH=arm ;;
+ *) export ARCH=$( uname -m ) ;;
+ esac
fi
if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-02 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
+ SLKCFLAGS="-02 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-02 -fPIC"
- LIBDIRSUFFIX="64"
+ SLKCFLAGS="-02 -fPIC"
+ LIBDIRSUFFIX="64"
else
- SLKCFLAGS="-02"
- LIBDIRSUFFIX=""
+ SLKCFLAGS="-02"
+ LIBDIRSUFFIX=""
fi
CWD=$(pwd)
@@ -65,8 +65,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/python2.6/site-packages/
-cp -a xmpp $PKG/usr/lib$LIBDIRSUFFIX/python2.6/site-packages/
+mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/python2.7/site-packages/
+cp -a xmpp $PKG/usr/lib$LIBDIRSUFFIX/python2.7/site-packages/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a doc/* ChangeLog MANIFEST README $PKG/usr/doc/$PRGNAM-$VERSION