diff options
author | B. Watson <urchlay@slackware.uk> | 2023-01-05 17:22:34 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-01-07 08:13:49 +0700 |
commit | f16da80314a3be6ccdb44ffc1c4561438d4d5a50 (patch) | |
tree | 6701a8983e3a7fc1be2bfb9d7b2010443706b13f | |
parent | 977dd61557e0e07afaa8edbe5fd531bdb905dd90 (diff) |
perl/perl-file-libmagic: Strip shared lib.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | perl/perl-file-libmagic/perl-file-libmagic.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/perl/perl-file-libmagic/perl-file-libmagic.SlackBuild b/perl/perl-file-libmagic/perl-file-libmagic.SlackBuild index 138c84552303c..b298daf191351 100644 --- a/perl/perl-file-libmagic/perl-file-libmagic.SlackBuild +++ b/perl/perl-file-libmagic/perl-file-libmagic.SlackBuild @@ -6,6 +6,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230105 bkw: BUILD=2, strip the shared object. # 20201025 bkw: update for v1.23. cd $(dirname $0) ; CWD=$(pwd) @@ -13,7 +14,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-file-libmagic TARNAM=File-LibMagic VERSION=${VERSION:-1.23} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -83,6 +84,8 @@ perl -MTest::Fatal -e 0 2>/dev/null && make test make install DESTDIR=$PKG gzip -9 $PKG/usr/man/man?/*.? +find $PKG -name '*.so' -exec strip {} \+ + find $PKG -name perllocal.pod \ -o -name ".packlist" \ -o -name "*.bs" \ |