summaryrefslogtreecommitdiff
path: root/libraries/libaacs/libaacs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libaacs/libaacs.SlackBuild')
-rw-r--r--libraries/libaacs/libaacs.SlackBuild30
1 files changed, 26 insertions, 4 deletions
diff --git a/libraries/libaacs/libaacs.SlackBuild b/libraries/libaacs/libaacs.SlackBuild
index 6642c9db31..b1e44e9388 100644
--- a/libraries/libaacs/libaacs.SlackBuild
+++ b/libraries/libaacs/libaacs.SlackBuild
@@ -2,10 +2,28 @@
# Slackware build script for libaacs
-# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2011-2013 Larry Hajali <larryhaja[at]gmail[dot]com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libaacs
-VERSION=${VERSION:-0.5.0}
+VERSION=${VERSION:-0.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,12 +72,16 @@ find . \
# Fix CL/RF formatting.
sed -i 's/\r//g' KEYDB.cfg
-SET_OPTIMIZATIONS="$SLKCFLAGS" \
+# Remove freaking -Werror flags. Stupid for a release package.
+sed -i '/-Werror=/,/break;/d' configure.ac
+
+./bootstrap
+
+CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--disable-dependency-tracking \
- --disable-debug \
--disable-static \
--build=$ARCH-slackware-linux