summaryrefslogtreecommitdiff
path: root/libraries/python-mpd/python-mpd.SlackBuild
diff options
context:
space:
mode:
authorAndrew Brouwers <abrouwers@gmail.com>2010-05-13 00:33:19 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:33:19 +0200
commit20098aa20a351a8de0e8430eff561b3835aaf548 (patch)
tree49bf9add56bca70fabb03754411c2f52a1bf7dd8 /libraries/python-mpd/python-mpd.SlackBuild
parent3a200e766352ae3f9f7187477b7280ebda6569a0 (diff)
downloadslackbuilds-20098aa20a351a8de0e8430eff561b3835aaf548.tar.gz
libraries/python-mpd: Updated for version 0.2.1
Diffstat (limited to 'libraries/python-mpd/python-mpd.SlackBuild')
-rw-r--r--libraries/python-mpd/python-mpd.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/libraries/python-mpd/python-mpd.SlackBuild b/libraries/python-mpd/python-mpd.SlackBuild
index 97754ab997..c1e224183e 100644
--- a/libraries/python-mpd/python-mpd.SlackBuild
+++ b/libraries/python-mpd/python-mpd.SlackBuild
@@ -37,10 +37,12 @@ DOCS="CHANGES.txt LICENSE.txt README.txt doc/commands.txt"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "s390" ]; then
SLKCFLAGS="-O2"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
rm -rf $PKG
@@ -63,4 +65,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}