summaryrefslogtreecommitdiff
path: root/libraries/libscrypt/libscrypt.SlackBuild
diff options
context:
space:
mode:
authorLEVAI Daniel <leva@ecentrum.hu>2014-05-09 11:51:24 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-12 07:35:59 +0700
commite02652c36b61690d56dbab6fc56fd02c0b3dc252 (patch)
treef4a7be440bbd15fd0c01b2a8e9d799d2349ea169 /libraries/libscrypt/libscrypt.SlackBuild
parent7c4e85fdc978854d71ddc4e58bbc976b38b979f9 (diff)
downloadslackbuilds-e02652c36b61690d56dbab6fc56fd02c0b3dc252.tar.gz
libraries/libscrypt: Updated for version 1.19.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libscrypt/libscrypt.SlackBuild')
-rw-r--r--libraries/libscrypt/libscrypt.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/libraries/libscrypt/libscrypt.SlackBuild b/libraries/libscrypt/libscrypt.SlackBuild
index 8d06667706..57de6f27fc 100644
--- a/libraries/libscrypt/libscrypt.SlackBuild
+++ b/libraries/libscrypt/libscrypt.SlackBuild
@@ -24,19 +24,17 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libscrypt
-VERSION=${VERSION:-1.18}
+VERSION=${VERSION:-1.19}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i686) ARCH=i686 ;;
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -73,7 +71,7 @@ find -L . \
CFLAGS="$SLKCFLAGS" make
make check
-make install DESTDIR=$PKG PREFIX=/usr
+make install DESTDIR=$PKG PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX}
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true