summaryrefslogtreecommitdiff
path: root/network/elinks/elinks.SlackBuild
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2017-11-19 20:58:05 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-11-20 17:59:14 +0700
commitd8546d90adcc0ec9965d3e3b1e88e415f7f024bc (patch)
treeace2c0a6c7d4f3802a329cc8bb3eaf3cee45851b /network/elinks/elinks.SlackBuild
parent0e87b5e91725b09a8f0c0d8d5e0e86e4c78070a6 (diff)
downloadslackbuilds-d8546d90adcc0ec9965d3e3b1e88e415f7f024bc.tar.gz
network/elinks: Add options to disable mouse and gpm.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/elinks/elinks.SlackBuild')
-rw-r--r--network/elinks/elinks.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/network/elinks/elinks.SlackBuild b/network/elinks/elinks.SlackBuild
index 9643bc9a6e..4e01d232d4 100644
--- a/network/elinks/elinks.SlackBuild
+++ b/network/elinks/elinks.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=elinks
VERSION=${VERSION:-git20131231}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -73,6 +73,9 @@ find -L . \
patch --verbose -p1 < $CWD/gopher-html.patch
+[ -n "$NOMOUSE" ] && mouse="--disable-mouse"
+[ -n "$NOGPM" ] && gpm="--without-gpm"
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -97,6 +100,8 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-html-highlight \
--enable-bittorrent \
--enable-fastmem \
+ $mouse \
+ $gpm \
--build=$ARCH-slackware-linux
make