summaryrefslogtreecommitdiffstats
path: root/system/linuxconsoletools/linuxconsoletools.SlackBuild
diff options
context:
space:
mode:
author B. Watson2019-11-29 22:06:16 +0100
committer Willy Sudiarto Raharjo2019-12-15 11:06:19 +0100
commitc43abfa0900b0f60ccce92878b496ac260b88deb (patch)
tree6f894415f6bbd348c04ca8d4c48adbadab98aa85 /system/linuxconsoletools/linuxconsoletools.SlackBuild
parentbc2efe94902c25bf0c032e418af1b075b0cbb3f4 (diff)
downloadslackbuilds-c43abfa0900b0f60ccce92878b496ac260b88deb.tar.gz
system/linuxconsoletools: Updated for version 1.7.0.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'system/linuxconsoletools/linuxconsoletools.SlackBuild')
-rw-r--r--system/linuxconsoletools/linuxconsoletools.SlackBuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/system/linuxconsoletools/linuxconsoletools.SlackBuild b/system/linuxconsoletools/linuxconsoletools.SlackBuild
index 129224725c..9de107a555 100644
--- a/system/linuxconsoletools/linuxconsoletools.SlackBuild
+++ b/system/linuxconsoletools/linuxconsoletools.SlackBuild
@@ -22,6 +22,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20191129 bkw: update for v1.7.0, document new optional SDL2 dep.
# 20181030 bkw: add GPM_COMPAT=yes option, minor cleanups, BUILD=2
# 20161015 bkw: update for v1.6.0
# 20160726 bkw: update for v1.5.1
@@ -30,8 +31,8 @@
# replaced patch with a bit of sed.
PRGNAM=linuxconsoletools
-VERSION=${VERSION:-1.6.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.7.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -73,6 +74,12 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+# 20191129 bkw: allow building without SDL2 installed.
+if ! pkg-config --exists sdl2; then
+ sed -i '/^PROGRAMS/s,ffmvforce ,,' utils/Makefile
+ sed -i 's,ffmvforce\.1 ,,' docs/Makefile
+fi
+
# install manpages in /usr/man instead of /usr/share/man
sed -i 's,share/man,man,g' docs/Makefile