diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/hatari/hatari.SlackBuild | 34 | ||||
-rw-r--r-- | games/hatari/hatari.info | 6 |
2 files changed, 21 insertions, 19 deletions
diff --git a/games/hatari/hatari.SlackBuild b/games/hatari/hatari.SlackBuild index 5f191c4f3573c..3c401f2d2a4e8 100644 --- a/games/hatari/hatari.SlackBuild +++ b/games/hatari/hatari.SlackBuild @@ -4,7 +4,7 @@ # Written by B. Watson (yalhcru@gmail.com) PRGNAM=hatari -VERSION=${VERSION-1.1.0} +VERSION=${VERSION-1.4.0} ARCH=${ARCH-i486} BUILD=${BUILD-1} TAG=${TAG-_SBo} @@ -16,39 +16,41 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" fi set -e rm -rf $PKG $TMP/$PRGNAM-$VERSION -mkdir -p $PKG $PKG/install $PKG/etc/$PRGNAM +mkdir -p $PKG $PKG/install $PKG/etc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION + +# configure script is really a wrapper for cmake, doesn't support +# --libdir, --mandir, --docdir. We'll just move everything where it +# goes after the 'make install'. (If there were shared libs to deal +# with, this likely wouldn't be good enough) cd $TMP tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --sysconfdir=/etc/$PRGNAM \ - --build=$ARCH-slackware-linux +./configure --prefix=/usr make -make install DESTDIR=$PKG +make install/strip DESTDIR=$PKG + +# amazingly, the man pages are already gzipped (but in the wrong place) +mv $PKG/usr/share/man $PKG/usr/man -# amazingly, the man page is already gzipped and the binary -# is already stripped! +# Also, the docs are in the wrong place: +mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION +rm -rf $PKG/usr/share/doc -# this doc doesn't get installed in v1.1.0: +# these docs don't get installed for some reason: cat tools/hmsa/readme-hmsa.txt > $PKG/usr/doc/$PRGNAM-$VERSION/readme-hmsa.txt +cat readme.txt > $PKG/usr/doc/$PRGNAM-$VERSION/readme.txt +cat gpl.txt > $PKG/usr/doc/$PRGNAM-$VERSION/gpl.txt ( cd $PKG/usr/share/$PRGNAM && mv tos.img emutos.img && ln -s emutos.img tos.img ) diff --git a/games/hatari/hatari.info b/games/hatari/hatari.info index ef83590e8e2a2..d3b459bebad59 100644 --- a/games/hatari/hatari.info +++ b/games/hatari/hatari.info @@ -1,8 +1,8 @@ PRGNAM="hatari" -VERSION="1.1.0" +VERSION="1.4.0" HOMEPAGE="http://hatari.berlios.de/" -DOWNLOAD="http://download.berlios.de/hatari/hatari-1.1.0.tar.bz2" -MD5SUM="e782830f4d82dccb017159b302fd8b62" +DOWNLOAD="http://download.berlios.de/hatari/hatari-1.4.0.tar.bz2" +MD5SUM="2f30e5c9e146ee92e3f2f5ae1cef3673" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="B. Watson" |