aboutsummaryrefslogtreecommitdiff
path: root/system/curlftpfs/curlftpfs.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-13 00:40:00 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-13 00:40:00 +0200
commit1a983f4c62cc12754931ecaca97881d9da55b1ca (patch)
tree9c6a99bf7a8f58281840f67e3af86e1a64a59875 /system/curlftpfs/curlftpfs.SlackBuild
parent39b1628aebcf32eac6c456a381ef16e940575752 (diff)
system/curlftpfs: Updated for version 0.9.2
Diffstat (limited to 'system/curlftpfs/curlftpfs.SlackBuild')
-rw-r--r--system/curlftpfs/curlftpfs.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/system/curlftpfs/curlftpfs.SlackBuild b/system/curlftpfs/curlftpfs.SlackBuild
index 9fc613b991a0d..74df6e4d0012b 100644
--- a/system/curlftpfs/curlftpfs.SlackBuild
+++ b/system/curlftpfs/curlftpfs.SlackBuild
@@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -56,6 +59,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib$LIBDIRSUFFIX \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
@@ -80,4 +84,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}