diff options
author | Erwin van Zanten <e.van.zanten.evz@gmail.com> | 2014-10-04 22:59:13 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-10-04 22:59:13 +0700 |
commit | edc7eee141e7aee9bd6d7c254549c8837559ef7b (patch) | |
tree | 65bbedb4c08e773e27d256988c1375ae96b9e9e6 /games/openmsx | |
parent | 6ed07ede99d2094808b5e4a891a448dd71e5a4a5 (diff) | |
download | slackbuilds-edc7eee141e7aee9bd6d7c254549c8837559ef7b.tar.gz |
games/openmsx: Updated for version 1.10.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/openmsx')
-rw-r--r-- | games/openmsx/openmsx.SlackBuild | 57 | ||||
-rw-r--r-- | games/openmsx/openmsx.info | 6 |
2 files changed, 29 insertions, 34 deletions
diff --git a/games/openmsx/openmsx.SlackBuild b/games/openmsx/openmsx.SlackBuild index 9f19ed3b02..85380f5650 100644 --- a/games/openmsx/openmsx.SlackBuild +++ b/games/openmsx/openmsx.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for OpenMSX -# Copyright 2013 Erwin van Zanten <e.van.zanten.evz@gmail.com> +# Copyright 2013-2014 Erwin van Zanten, Dordrecht, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -11,21 +11,19 @@ # 1. Redistributions of this script must retain the above copyright # notice, this list of conditions and the following disclaimer. # -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# Modified by the SlackBuilds.org project +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=openmsx -VERSION=${VERSION:-0.9.1} +VERSION=${VERSION:-0.10.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -56,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -66,15 +64,21 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -SYMLINK_FOR_BINARY=false \ -./configure +./configure \ + --prefix-dir=/usr \ + --binary-dir=/games \ + --data-dir=/share/games/openmsx \ + --icon-dir=/share/pixmaps \ + --doc-dir=/doc/$PRGNAM-$VERSION \ + --personal-dir=.openmsx \ + --install-dir=$PKG make make install DESTDIR=$PKG @@ -82,17 +86,8 @@ make install DESTDIR=$PKG 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 -# Manually create a symlink -mkdir -p $PKG/usr/bin -(cd $PKG/usr/bin ; ln -s /opt/openMSX/bin/$PRGNAM . ) - -# Install an icon and a desktop entry -install -m 0644 -D $PKG/opt/openMSX/share/icons/openMSX-logo-128.png \ - $PKG/usr/share/pixmaps/$PRGNAM.png -install -m 0644 -D $CWD/$PRGNAM.desktop \ - $PKG/usr/share/applications/$PRGNAM.desktop - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/games/openmsx/openmsx.info b/games/openmsx/openmsx.info index 1dbbe8b40a..1499a72637 100644 --- a/games/openmsx/openmsx.info +++ b/games/openmsx/openmsx.info @@ -1,8 +1,8 @@ PRGNAM="openmsx" -VERSION="0.9.1" +VERSION="0.10.1" HOMEPAGE="http://openmsx.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/openmsx/openmsx-0.9.1.tar.gz" -MD5SUM="37f9706652add2c881dcae4afdf00664" +DOWNLOAD="http://downloads.sourceforge.net/openmsx/openmsx-0.10.1.tar.gz" +MD5SUM="5ca64e5e143e1adc1ace4eee67f7a114" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libxml++" |