aboutsummaryrefslogtreecommitdiff
path: root/games/openmsx
diff options
context:
space:
mode:
Diffstat (limited to 'games/openmsx')
-rw-r--r--games/openmsx/openmsx.SlackBuild14
-rw-r--r--games/openmsx/openmsx.info2
2 files changed, 13 insertions, 3 deletions
diff --git a/games/openmsx/openmsx.SlackBuild b/games/openmsx/openmsx.SlackBuild
index 4c8c6da7e140f..fa13ee95e895c 100644
--- a/games/openmsx/openmsx.SlackBuild
+++ b/games/openmsx/openmsx.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for OpenMSX
# Copyright 2013-2014 Erwin van Zanten, Dordrecht, The Netherlands
-# Copyright 2016-2017 Philip van der Hoeven, Almere, The Netherlands
+# Copyright 2016-2018 Philip van der Hoeven, Almere, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
PRGNAM=openmsx
VERSION=${VERSION:-0.14.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -81,6 +81,16 @@ echo "INSTALL_BINARY_DIR:=/usr/bin" >> build/custom.mk
make
make install DESTDIR=$PKG
+# Build DMK tools
+cd Contrib/dmk
+for DMKTOOL in analyze-dmk combine-dmk der2dmk dsk2dmk empty-dmk svi2dmk; do
+ echo "Building $DMKTOOL"
+ g++ -std=c++11 $SLKCFLAGS -o $DMKTOOL $DMKTOOL.cc
+ cp $DMKTOOL $PKG/usr/bin
+ chmod 755 $PKG/usr/bin/$DMKTOOL
+done
+cd ../..
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/games/openmsx/openmsx.info b/games/openmsx/openmsx.info
index b241608888aee..d97cc67229c5c 100644
--- a/games/openmsx/openmsx.info
+++ b/games/openmsx/openmsx.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/openMSX/openMSX/releases/download/RELEASE_0_14_0/op
MD5SUM="5407cae76a3e5a4ce808b4ded2255eba"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libxml++"
+REQUIRES=""
MAINTAINER="Philip van der Hoeven"
EMAIL="philip@vd-hoeven.nl"