mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
perl/perl-file-libmagic: Strip shared lib.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
977dd61557
commit
f16da80314
1 changed files with 4 additions and 1 deletions
|
@ -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" \
|
||||
|
|
Loading…
Reference in a new issue