summaryrefslogtreecommitdiffstats
path: root/libraries/libaacs/libaacs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libaacs/libaacs.SlackBuild')
-rw-r--r--libraries/libaacs/libaacs.SlackBuild19
1 files changed, 8 insertions, 11 deletions
diff --git a/libraries/libaacs/libaacs.SlackBuild b/libraries/libaacs/libaacs.SlackBuild
index 3ed29c323b..9bfe371bdc 100644
--- a/libraries/libaacs/libaacs.SlackBuild
+++ b/libraries/libaacs/libaacs.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libaacs
-VERSION=${VERSION:-0.6.0}
+VERSION=${VERSION:-0.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,18 +64,15 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -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 {} \;
# Fix CL/RF formatting.
-sed -i 's/\r//g' KEYDB.cfg
-
-# Remove freaking -Werror flags. Stupid for a release package.
-sed -i '/-Werror=/,/break;/d' configure.ac
-
-./bootstrap
+cat KEYDB.cfg | sed -e 's/\r//g' > KEYDB.cfg.new
+touch -r KEYDB.cfg KEYDB.cfg.new
+mv KEYDB.cfg.new KEYDB.cfg
CFLAGS="$SLKCFLAGS" \
./configure \