From 25cd11e2f0ea5c3779ca6b3ae35061e1370a31d0 Mon Sep 17 00:00:00 2001 From: Philip van der Hoeven Date: Wed, 28 Feb 2018 08:36:58 +0700 Subject: games/openmsx: Added dmk tools from Contrib. Signed-off-by: Willy Sudiarto Raharjo --- games/openmsx/openmsx.SlackBuild | 14 ++++++++++++-- games/openmsx/openmsx.info | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) (limited to 'games') diff --git a/games/openmsx/openmsx.SlackBuild b/games/openmsx/openmsx.SlackBuild index 4c8c6da7e1..fa13ee95e8 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 b241608888..d97cc67229 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" -- cgit v1.2.3