summaryrefslogtreecommitdiffstats
path: root/development/portaudio/portaudio.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/portaudio/portaudio.SlackBuild')
-rw-r--r--development/portaudio/portaudio.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/development/portaudio/portaudio.SlackBuild b/development/portaudio/portaudio.SlackBuild
index 90683f96b3..0c2b3109b1 100644
--- a/development/portaudio/portaudio.SlackBuild
+++ b/development/portaudio/portaudio.SlackBuild
@@ -4,13 +4,14 @@
#
# Copyright 2009-2015 Marco Bonetti <sid77@slackware.it>
# Copyright 2015 Marcel Saegebarth <marc@mos6581.de>
+# Copyright 2022 Bill Kirkpatrick, Bay City, Texas, USA
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
-# * Redistributions of source code must retain the above copyright
+# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
@@ -28,7 +29,6 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=portaudio
-
VERSION=${VERSION:-19.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -98,11 +98,11 @@ CXXFLAGS="$SLKCFLAGS" \
make -j1
make install DESTDIR=$PKG
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
+
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
-rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE.txt README.configure.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild