diff options
Diffstat (limited to 'source/l/speexdsp')
-rwxr-xr-x | source/l/speexdsp/speexdsp.SlackBuild | 21 | ||||
-rw-r--r-- | source/l/speexdsp/speexdsp.url | 1 |
2 files changed, 16 insertions, 6 deletions
diff --git a/source/l/speexdsp/speexdsp.SlackBuild b/source/l/speexdsp/speexdsp.SlackBuild index 2c653b0f..705a16a9 100755 --- a/source/l/speexdsp/speexdsp.SlackBuild +++ b/source/l/speexdsp/speexdsp.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2015, 2018, 2019 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2015, 2018, 2019, 2022 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -25,8 +25,9 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=speexdsp -VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +SRCNAM=speexdsp-SpeexDSP +VERSION=${VERSION:-$(echo $SRCNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} @@ -70,9 +71,9 @@ fi rm -rf $PKG mkdir -p $TMP $PKG cd $TMP -rm -rf $PKGNAM-$VERSION -tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1 -cd $PKGNAM-$VERSION || exit 1 +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.?z || exit 1 +cd $SRCNAM-$VERSION || exit 1 chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -80,6 +81,14 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ +if [ ! -r configure ]; then + if [ -x ./autogen.sh ]; then + NOCONFIGURE=1 ./autogen.sh + else + autoreconf -vif + fi +fi + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/source/l/speexdsp/speexdsp.url b/source/l/speexdsp/speexdsp.url new file mode 100644 index 00000000..82cb644d --- /dev/null +++ b/source/l/speexdsp/speexdsp.url @@ -0,0 +1 @@ +https://github.com/xiph/speexdsp |