summaryrefslogtreecommitdiff
path: root/libraries/libaacs/libaacs.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2013-12-25 16:04:21 -0600
committerErik Hanson <erik@slackbuilds.org>2014-01-07 11:13:30 -0600
commit56c273d58cb204e6de61539c2afee56524b2b213 (patch)
treec0ec481163916e5ba28942e7488f493015aeab47 /libraries/libaacs/libaacs.SlackBuild
parent54de90f39a9ac05a1ee1288242b7eda5c84cae00 (diff)
downloadslackbuilds-56c273d58cb204e6de61539c2afee56524b2b213.tar.gz
libraries/libaacs: Updated for version 0.7.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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 \