diff options
Diffstat (limited to 'system/tpm/tpm.SlackBuild')
-rw-r--r-- | system/tpm/tpm.SlackBuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/system/tpm/tpm.SlackBuild b/system/tpm/tpm.SlackBuild index b0d689f9d9..2c985eb7d4 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 |