aboutsummaryrefslogtreecommitdiff
path: root/libraries/python-mpd/python-mpd.SlackBuild
diff options
context:
space:
mode:
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 97754ab997278..c1e224183e5b0 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}