summaryrefslogtreecommitdiff
path: root/development/fossil/fossil.SlackBuild
diff options
context:
space:
mode:
authorAndy Goth <andrew.m.goth@gmail.com>2017-04-09 00:25:49 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-13 07:27:45 +0700
commit2e997851bae26ff5f741e0dc513ee4f6bf05e4d4 (patch)
tree94445da58eadc69c637749eb167afa45beacd43f /development/fossil/fossil.SlackBuild
parenta44a15cd1fc29d9b7a5231d61ad6b67296807bb5 (diff)
downloadslackbuilds-2e997851bae26ff5f741e0dc513ee4f6bf05e4d4.tar.gz
development/fossil: Updated for version 2.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/fossil/fossil.SlackBuild')
-rw-r--r--development/fossil/fossil.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/development/fossil/fossil.SlackBuild b/development/fossil/fossil.SlackBuild
index 257112f01e..b254a32c88 100644
--- a/development/fossil/fossil.SlackBuild
+++ b/development/fossil/fossil.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for fossil
-# Copyright 2016 Andy Goth <andrew.m.goth@gmail.com>
+# Copyright 2017 Andy Goth <andrew.m.goth@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,15 +23,15 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fossil
-VERSION=${VERSION:-1.36}
+VERSION=${VERSION:-2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
- case "$(uname -m)" in
+ case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
- *) ARCH=$(uname -m) ;;
+ *) ARCH=$( uname -m ) ;;
esac
fi
@@ -69,8 +69,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS=$SLKCFLAGS \
-CXXFLAGS=$SLKCFLAGS \
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -86,7 +86,7 @@ mkdir -p $PKG/usr/man/man1
gzip -9c fossil.1 > $PKG/usr/man/man1/fossil.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYRIGHT-BSD2.txt BUILD.txt $PKG/usr/doc/$PRGNAM-$VERSION/
+cp -a COPYRIGHT-BSD2.txt BUILD.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install