aboutsummaryrefslogtreecommitdiff
path: root/audio/spandsp/spandsp.SlackBuild
diff options
context:
space:
mode:
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 7a2f9fe067f93..f044b061de4a4 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