diff options
Diffstat (limited to 'libraries/libpwquality/libpwquality.SlackBuild')
-rw-r--r-- | libraries/libpwquality/libpwquality.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libraries/libpwquality/libpwquality.SlackBuild b/libraries/libpwquality/libpwquality.SlackBuild index 6299541477dca..13eabf03008b4 100644 --- a/libraries/libpwquality/libpwquality.SlackBuild +++ b/libraries/libpwquality/libpwquality.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for libpwquality. # -# Copyright 2015-2016 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libpwquality -VERSION=${VERSION:-1.3.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.4.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -60,8 +60,8 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT rm -rf $TMP/$PRGNAM-$VERSION cd $TMP -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 -cd $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -69,7 +69,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -patch -p1 < $CWD/Fix_possible_stack_overflow.patch +./autogen.sh --prefix=/usr CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ |