aboutsummaryrefslogtreecommitdiff
path: root/system/tpm/tpm.SlackBuild
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2020-06-08 15:58:59 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-06-14 17:45:54 +0700
commita12586fdb9fd28b04f0352e892b2abdd353b269b (patch)
tree89ad9488b69163f925655e47817e50f78b8c0b77 /system/tpm/tpm.SlackBuild
parent5c08794178090a8d248a70c368e0dfe3fdbc4881 (diff)
system/tpm: Updated for version 1.3.3.
Signed-off-by: orbea <orbea@riseup.net> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/tpm/tpm.SlackBuild')
-rw-r--r--system/tpm/tpm.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/system/tpm/tpm.SlackBuild b/system/tpm/tpm.SlackBuild
index b0d689f9d9bce..2c985eb7d43f0 100644
--- a/system/tpm/tpm.SlackBuild
+++ b/system/tpm/tpm.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for tpm
-# Copyright 2015-2016 Hunter Sezen California, USA
+# Copyright 2015-2016, 2020 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=tpm
-VERSION=${VERSION:-1.3.2}
+VERSION=${VERSION:-1.3.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -34,7 +34,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-set -e
+set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -50,13 +50,14 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
make
+
make install \
PREFIX=/usr \
MANDIR=/usr/man \
DESTDIR=$PKG
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" |
+ grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done