audio/nnls-chroma: Strip library.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-01-06 14:09:46 -05:00 committed by Willy Sudiarto Raharjo
parent c655b9a11d
commit 57bf33ca49
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -6,11 +6,13 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20230106 bkw: BUILD=2, strip the library.
cd $(dirname $0) ; CWD=$(pwd) cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nnls-chroma PRGNAM=nnls-chroma
VERSION=${VERSION:-1.1} VERSION=${VERSION:-1.1}
BUILD=${BUILD:-1} BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz} PKGTYPE=${PKGTYPE:-tgz}
@ -66,6 +68,7 @@ make -f Makefile.linux VAMP_SDK_DIR=/usr/include/vamp-sdk
# fewer chords than the defaults hard-coded in chromamethods.cpp. I'll # fewer chords than the defaults hard-coded in chromamethods.cpp. I'll
# install chord.dictold in the doc directory, in case someone needs it. # install chord.dictold in the doc directory, in case someone needs it.
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/vamp mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/vamp
strip $PRGNAM.so
cp -a $PRGNAM.so $PRGNAM.n3 $PRGNAM.cat $PKG/usr/lib$LIBDIRSUFFIX/vamp cp -a $PRGNAM.so $PRGNAM.n3 $PRGNAM.cat $PKG/usr/lib$LIBDIRSUFFIX/vamp
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION