aboutsummaryrefslogtreecommitdiff
path: root/desktop/gtkhash/gtkhash.SlackBuild
diff options
context:
space:
mode:
authorAaditya Bagga <aaditya_gnulinux@zoho.com>2016-12-18 18:55:10 +0530
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-24 07:33:32 +0700
commit1db5644720a58bf3cb5f58746f2aebf3f4b08535 (patch)
tree6fa4566e6c9140dd0ba31a3fb22265a2ad124cbf /desktop/gtkhash/gtkhash.SlackBuild
parent4cecbc296a606f5ee925041126e9653eb57164be (diff)
desktop/gtkhash: Updated for version 1.0.
Diffstat (limited to 'desktop/gtkhash/gtkhash.SlackBuild')
-rw-r--r--desktop/gtkhash/gtkhash.SlackBuild31
1 files changed, 19 insertions, 12 deletions
diff --git a/desktop/gtkhash/gtkhash.SlackBuild b/desktop/gtkhash/gtkhash.SlackBuild
index e44dfe25816e8..f732da7a0ef52 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