aboutsummaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
Diffstat (limited to 'perl')
-rw-r--r--perl/perl-audio-sndfile/perl-audio-sndfile.SlackBuild17
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 86ffdc6818aa..e19a13ea06e5 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