summaryrefslogtreecommitdiffstats
path: root/libraries/soundtouch/soundtouch.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/soundtouch/soundtouch.SlackBuild')
-rw-r--r--libraries/soundtouch/soundtouch.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/libraries/soundtouch/soundtouch.SlackBuild b/libraries/soundtouch/soundtouch.SlackBuild
index dae1738fc9..fd45539d63 100644
--- a/libraries/soundtouch/soundtouch.SlackBuild
+++ b/libraries/soundtouch/soundtouch.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=soundtouch
-VERSION=1.5.0
+VERSION=${VERSION:-r104}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,9 +61,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM
+rm -rf $PRGNAM-$VERSION
tar xvzf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM
+cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -71,6 +71,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+./bootstrap
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \