summaryrefslogtreecommitdiff
path: root/network/elinks/elinks.SlackBuild
diff options
context:
space:
mode:
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