diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2010-05-13 00:40:11 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:40:11 +0200 |
commit | 3b52c304520ac5b497dc5e27fe01c4fc7270adb5 (patch) | |
tree | 89dfc6620e712948665fb712ebe547dbf56230cd /system/encfs/encfs.SlackBuild | |
parent | 01a7a9fd38df5481e1cf2a087ae4c4949bc76063 (diff) | |
download | slackbuilds-3b52c304520ac5b497dc5e27fe01c4fc7270adb5.tar.gz |
system/encfs: Updated for version 1.5
Diffstat (limited to 'system/encfs/encfs.SlackBuild')
-rw-r--r-- | system/encfs/encfs.SlackBuild | 9 |
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} |