summaryrefslogtreecommitdiffstats
path: root/development/bas55/bas55.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/bas55/bas55.SlackBuild')
-rw-r--r--development/bas55/bas55.SlackBuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/development/bas55/bas55.SlackBuild b/development/bas55/bas55.SlackBuild
index 8087c4ce5a..3a40b75136 100644
--- a/development/bas55/bas55.SlackBuild
+++ b/development/bas55/bas55.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for bas55
-# Copyright 2015-2017 Jorge Giner Cordero
+# Copyright 2018 Jorge Giner Cordero
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=bas55
-VERSION=${VERSION:-1.11}
+VERSION=${VERSION:-1.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,6 +54,12 @@ else
LIBDIRSUFFIX=""
fi
+if [ "$LIBEDIT" = yes ]; then
+ LIBEDITOPTION="--with-libedit"
+else
+ LIBEDITOPTION=""
+fi
+
set -e
rm -rf $PKG
@@ -79,7 +85,8 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux \
+ ${LIBEDITOPTION}
make
make install DESTDIR=$PKG