system/dosbox: Updated for version 0.70

This commit is contained in:
Martin Lefebvre 2010-05-11 19:46:24 +02:00 committed by Michiel van Wessem
parent 6e3b4401fa
commit 996c60dec9
3 changed files with 27 additions and 13 deletions

View file

@ -23,13 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Modified by the SlackBuilds.org project
# Modified by Mattias Linde <mattias.linde@gmail.com>
PRGNAM=dosbox
VERSION=0.65
VERSION=0.70
ARCH=${ARCH:-i486}
BUILD=${BUILD:-2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=`pwd`
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@ -46,7 +47,6 @@ cd $TMP || exit 1
rm -rf $PRGNAM-$VERSION
tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
cd $PRGNAM-$VERSION || exit 1
chown -R root:root .
chmod -R a-s,u+w,go-w+r .
@ -61,20 +61,22 @@ CXXFLAGS="$SLKCFLAGS" \
make DESTDIR=$PKG || exit 1
make install-strip DESTDIR=$PKG || exit 1
mv $PKG/usr/share/man $PKG/usr/man
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in `find . -type l` ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)
# Add a desktop file to create a menu entry
install -D -m 0644 $CWD/dosbox.desktop \
$PKG/usr/share/applications/dosbox.desktop
# Add the dosbox.ico file to /usr/share/pixmaps
install -D -m 0644 src/dosbox.ico \
$PKG/usr/share/pixmaps/dosbox.ico
install -D -m 0644 src/dosbox.ico $PKG/usr/share/pixmaps/dosbox.ico
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO \
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS \
docs/README.video $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,8 +1,8 @@
PRGNAM="dosbox"
VERSION="0.65"
VERSION="0.70"
HOMEPAGE="http://dosbox.sourceforge.net"
DOWNLOAD="http://dl.sourceforge.net/dosbox/dosbox-0.65.tar.gz"
MD5SUM="fef84c292c3aeae747368b9875c1575a"
DOWNLOAD="http://dl.sourceforge.net/dosbox/dosbox-0.70.tar.gz"
MD5SUM="ea0a936e88eb294038e67eeb0d7129c4"
MAINTAINER="Martin Lefebvre"
EMAIL="dadexter@gmail.com"
APPROVED="robw810"
APPROVED="BP{k}"

View file

@ -1,7 +1,19 @@
dosbox: DOSbox is a DOS emulator/virtual machine for X11 and Unix.
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
dosbox: DOSbox (DOS emulator/virtual machine for X11 and Unix)
dosbox:
dosbox: It allows you to play many of the old games you grew up loving, as
dosbox: well as many apps designed to run on DOS.
dosbox:
dosbox:
dosbox:
dosbox:
dosbox:
dosbox:
dosbox: