summaryrefslogtreecommitdiff
path: root/system/encfs/encfs.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-13 00:40:11 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:40:11 +0200
commit3b52c304520ac5b497dc5e27fe01c4fc7270adb5 (patch)
tree89dfc6620e712948665fb712ebe547dbf56230cd /system/encfs/encfs.SlackBuild
parent01a7a9fd38df5481e1cf2a087ae4c4949bc76063 (diff)
downloadslackbuilds-3b52c304520ac5b497dc5e27fe01c4fc7270adb5.tar.gz
system/encfs: Updated for version 1.5
Diffstat (limited to 'system/encfs/encfs.SlackBuild')
-rw-r--r--system/encfs/encfs.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/system/encfs/encfs.SlackBuild b/system/encfs/encfs.SlackBuild
index 2f5c82caba..610432ccef 100644
--- a/system/encfs/encfs.SlackBuild
+++ b/system/encfs/encfs.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for encfs
-# Copyright 2007-2008 Heinz Wiesinger <pprkut@liwjatan.at>
+# Copyright 2007-2009 Heinz Wiesinger <pprkut@liwjatan.at>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -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,8 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib$LIBDIRSUFFIX \
+ --with-boost-libdir=/usr/lib$LIBDIRSUFFIX \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
@@ -80,4 +85,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}