summaryrefslogtreecommitdiff
path: root/audio/spandsp/spandsp.SlackBuild
diff options
context:
space:
mode:
authorslacksam <sam_web@yahoo.de>2014-11-30 12:03:17 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-11-30 12:03:17 +0700
commitbcaafc8f7ddfec9831865e9e0bcd0a19bf2d30c4 (patch)
tree3bfa1e7fc5f335c324fd7be121a3dd15ee6cbe2d /audio/spandsp/spandsp.SlackBuild
parent982102c9bc2af58e507008bed47e759099be39f7 (diff)
downloadslackbuilds-bcaafc8f7ddfec9831865e9e0bcd0a19bf2d30c4.tar.gz
audio/spandsp: Updated for version 0.0.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/spandsp/spandsp.SlackBuild')
-rw-r--r--audio/spandsp/spandsp.SlackBuild16
1 files changed, 6 insertions, 10 deletions
diff --git a/audio/spandsp/spandsp.SlackBuild b/audio/spandsp/spandsp.SlackBuild
index 7a2f9fe067..f044b061de 100644
--- a/audio/spandsp/spandsp.SlackBuild
+++ b/audio/spandsp/spandsp.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for spandsp
#
-# Copyright 2013 slacksam (sam_web@yahoo.de)
+# Written 2014 by Marek Srejma <sam_web@yahoo.de>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=spandsp
VERSION=${VERSION:-0.0.6}
-SUBVERSION=${SUBVERSION:-pre21}
+SUBVERSION=${SUBVERSION:-""}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,21 +61,17 @@ rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION$SUBVERSION.tgz
+tar xvf $CWD/$PRGNAM-$VERSION$SUBVERSION.tar.gz
+chown -R root:root $PRGNAM-$VERSION
+chmod -R u+w,go+r-w,a-s $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CXXFLAGS="$SLKCFLAGS" \
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
- --disable-static \
+ --enable-static=no \
--build=$ARCH-slackware-linux
make