aboutsummaryrefslogtreecommitdiff
path: root/libraries/libaacs/libaacs.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2013-03-11 19:29:49 -0400
committerdsomero <xgizzmo@slackbuilds.org>2013-03-22 07:16:37 -0400
commit888331d18319900975e1510ec3f4450526d6e613 (patch)
treeafdbb64c6d4e49ddb4399161ac7ec0d4cc4697c6 /libraries/libaacs/libaacs.SlackBuild
parent7d8a7dc5350c77216f1299517a29fb1af2bc652b (diff)
libraries/libaacs: Updated for version 0.6.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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 6642c9db31c55..b1e44e9388a0d 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