diff options
author | Philip van der Hoeven <philip@vd-hoeven.nl> | 2018-02-28 08:36:58 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-02-28 08:36:58 +0700 |
commit | 25cd11e2f0ea5c3779ca6b3ae35061e1370a31d0 (patch) | |
tree | 1f84e84e89014f0c5c415a8fa2d77a08b4fc5203 /games/openmsx/openmsx.SlackBuild | |
parent | 00dd1087fea09063b3738f1d6048d5e5ceca8529 (diff) |
games/openmsx: Added dmk tools from Contrib.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/openmsx/openmsx.SlackBuild')
-rw-r--r-- | games/openmsx/openmsx.SlackBuild | 14 |
1 files changed, 12 insertions, 2 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 |