aboutsummaryrefslogtreecommitdiff
path: root/development/bigloo/bigloo.SlackBuild
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryanpcmcquen@gmail.com>2014-05-05 07:31:57 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-05 07:31:57 +0700
commitd8aa84d3c37560f4bdbaf8cc604bfe4a0618a40c (patch)
treeee6c525670dab350b271969d5b8a1642606786d2 /development/bigloo/bigloo.SlackBuild
parentaab5ed3da736b96157b1da769d12953ed636c03e (diff)
development/bigloo: Updated for version 4.1a_2 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/bigloo/bigloo.SlackBuild')
-rw-r--r--development/bigloo/bigloo.SlackBuild48
1 files changed, 36 insertions, 12 deletions
diff --git a/development/bigloo/bigloo.SlackBuild b/development/bigloo/bigloo.SlackBuild
index fa3f5f803f290..6fe536aa9d4ea 100644
--- a/development/bigloo/bigloo.SlackBuild
+++ b/development/bigloo/bigloo.SlackBuild
@@ -1,10 +1,31 @@
#!/bin/sh
-#
-# Written by Jockey S. Kyd (jockey dot kyd at gmail dot com)
-# Public domain
+
+# Slackware build script for bigloo
+# Originally by Jockey S. Kyd (jockey dot kyd at gmail dot com)
+
+# Modified by Ryan P.C. McQuen, WA, ryan.q@linux.com
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version, with the following exception:
+# the text of the GPL license may be omitted..
+
+# This program is distributed in the hope that it will be useful, but
+# without any warranty; without even the implied warranty of
+# merchantability or fitness for a particular purpose. Compiling,
+# interpreting, executing or merely reading the text of the program
+# may result in lapses of consciousness and/or very being, up to and
+# including the end of all existence and the Universe as we know it.
+# See the GNU General Public License for more details.
+
+# You may have received a copy of the GNU General Public License
+# along with this program (most likely, a file named COPYING). If
+# not, see <http://www.gnu.org/licenses/>.
PRGNAM=bigloo
-VERSION=3.6a
+VERSION=${VERSION:-4.1a_2}
+SRCVER=$(echo $VERSION | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -39,15 +60,16 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM$VERSION
-tar xvf $CWD/$PRGNAM$VERSION.tar.gz
-cd $PRGNAM$VERSION
+rm -rf $PRGNAM$SRCVER
+tar xvf $CWD/$PRGNAM$SRCVER.tar.gz
+cd $PRGNAM$SRCVER
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 canonical system name detected during configuration
# e.g. x86_64-unknown-linux-gnu -> x86_64-slackware-linux-gnu
@@ -61,7 +83,9 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--libdir=/usr/lib$LIBDIRSUFFIX \
--mandir=/usr/man/man1 \
- --infodir=/usr/info
+ --infodir=/usr/info \
+ --sharedcompiler=yes \
+ --sharedbde=yes
make
make install DESTDIR=$PKG