diff options
author | B. Watson <urchlay@slackware.uk> | 2023-05-31 15:19:16 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-06-03 10:38:36 +0700 |
commit | 9e1776c7b116b9817ba232c8c06278f41a6f95ec (patch) | |
tree | a18e5e4c42d05254e5b7c89c16c57bde5ddf2226 /perl | |
parent | ca20eb7666970d84fa640789d491636bce3b803d (diff) |
perl/perl-audio-sndfile: rm unused LIBDIRSUFFIX and SLKCFLAGS.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r-- | perl/perl-audio-sndfile/perl-audio-sndfile.SlackBuild | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/perl/perl-audio-sndfile/perl-audio-sndfile.SlackBuild b/perl/perl-audio-sndfile/perl-audio-sndfile.SlackBuild index 86ffdc6818aa3..e19a13ea06e55 100644 --- a/perl/perl-audio-sndfile/perl-audio-sndfile.SlackBuild +++ b/perl/perl-audio-sndfile/perl-audio-sndfile.SlackBuild @@ -33,20 +33,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -67,8 +53,7 @@ perl Makefile.PL \ make make install 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 -name '*.so' | xargs strip --strip-unneeded gzip $PKG/usr/man/man3/*.3 |