summaryrefslogtreecommitdiff
path: root/libraries/xmpppy
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-16 12:14:53 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-09-16 19:43:00 -0400
commit0117dcd754d044f3bfcd282fee7ade6e81c0f187 (patch)
tree006370f18a6e9a944e1f73644f6058995ecf247f /libraries/xmpppy
parent12c2ebba146764129da852e5ddc07b36cd58d23c (diff)
downloadslackbuilds-0117dcd754d044f3bfcd282fee7ade6e81c0f187.tar.gz
libraries/xmpppy: Fixed python path
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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