diff options
Diffstat (limited to 'desktop/gtkhash/gtkhash.SlackBuild')
-rw-r--r-- | desktop/gtkhash/gtkhash.SlackBuild | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/desktop/gtkhash/gtkhash.SlackBuild b/desktop/gtkhash/gtkhash.SlackBuild index e44dfe2581..f732da7a0e 100644 --- a/desktop/gtkhash/gtkhash.SlackBuild +++ b/desktop/gtkhash/gtkhash.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for GtkHash -# Copyright 2014-2015 Aaditya Bagga <aaditya_gnulinux@zoho.com> +# Copyright 2014-2016 Aaditya Bagga <aaditya_gnulinux@zoho.com> # 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=gtkhash -VERSION=${VERSION:-0.7.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,6 +69,9 @@ 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 {} \; +# cmd line args +thunar_params="" ; [ "${THUNAR:-no}" != "no" ] && thunar_params="--enable-thunar" + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -77,16 +80,18 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux \ -# --enable-linux-crypto \ -# --enable-libcrypto \ -# --enable-thunar \ -# --enable-gcrypt \ -# --enable-debug \ -# --enable-nautilus \ -# --enable-nemo \ -# --enable-polarssl \ + --enable-linux-crypto \ + --enable-gcrypt \ + $thunar_params \ +# --enable-mbedtls \ +# --enable-mhash \ # --enable-nettle \ # --enable-nss \ +# --enable-polarssl \ +# --enable-caja +# --enable-nautilus \ +# --enable-nemo \ +# --enable-debug \ make make install DESTDIR=$PKG @@ -95,7 +100,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS COPYING ChangeLog INSTALL NEWS README.md TODO \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |