summaryrefslogtreecommitdiffstats
path: root/system/tpm/tpm.SlackBuild
diff options
context:
space:
mode:
author orbea <orbea@riseup.net>2020-12-30 07:03:27 -0800
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-02 10:48:37 +0700
commit81abf6d266e9010aa10d9535c73ef0a59ef4de73 (patch)
tree87e551b8bbb9de4da68c08185ce7520456566429 /system/tpm/tpm.SlackBuild
parent8bffd3262cdce8b5793bde4dbddc3d76ccf24d03 (diff)
downloadslackbuilds-81abf6d266e9010aa10d9535c73ef0a59ef4de73.tar.gz
slackbuilds-81abf6d266e9010aa10d9535c73ef0a59ef4de73.tar.xz
system/tpm: Update script.
Signed-off-by: orbea <orbea@riseup.net> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to '')
-rw-r--r--system/tpm/tpm.SlackBuild7
1 files changed, 1 insertions, 6 deletions
diff --git a/system/tpm/tpm.SlackBuild b/system/tpm/tpm.SlackBuild
index 2c985eb7d4..d6cd6a2979 100644
--- a/system/tpm/tpm.SlackBuild
+++ b/system/tpm/tpm.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=tpm
VERSION=${VERSION:-1.3.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -49,16 +49,11 @@ 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 {} \;
-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/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