system/tpm: Updated for version 1.3.3.

Signed-off-by: orbea <orbea@riseup.net>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
orbea 2020-06-08 15:58:59 -07:00 committed by Willy Sudiarto Raharjo
parent 5c08794178
commit a12586fdb9
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 9 additions and 8 deletions

View file

@ -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

View file

@ -1,8 +1,8 @@
PRGNAM="tpm"
VERSION="1.3.2"
VERSION="1.3.3"
HOMEPAGE="https://github.com/nmeum/tpm"
DOWNLOAD="https://github.com/nmeum/tpm/archive/1.3.2/tpm-1.3.2.tar.gz"
MD5SUM="d86118c38e908663c8d1422c79f6ce1d"
DOWNLOAD="https://github.com/nmeum/tpm/archive/1.3.3/tpm-1.3.3.tar.gz"
MD5SUM="9a5244e8f5e5bf0ba491ab7a029e79c1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""