DOSBox 0.74

This commit is contained in:
Adrián Arroyo Calle
2013-12-08 22:14:24 +00:00
parent 21e2986210
commit ea7e85f9d1
4 changed files with 3969 additions and 47 deletions

View File

@@ -1,20 +0,0 @@
Index: configure.in
===================================================================
--- configure.in (revision 3798)
+++ configure.in (working copy)
@@ -121,13 +121,8 @@
dnl Check for powf
-AC_MSG_CHECKING(for powf in libm);
-LIBS_BACKUP=$LIBS;
-LIBS="$LIBS -lm";
-AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <math.h>]],[[
- powf(1.0f, 1.0f);
-]])], [AC_MSG_RESULT(yes)], [AC_DEFINE([DB_HAVE_NO_POWF],[1],[libm doesn't include powf])])
-LIBS=$LIBS_BACKUP
+AC_SEARCH_LIBS([powf], [m], [AC_MSG_RESULT(yes)], [AC_DEFINE([DB_HAVE_NO_POWF],[1],[no powf function available])])
+AC_SEARCH_LIBS([getpeername], [network])
dnl Checks for libraries.

View File

@@ -0,0 +1,68 @@
SUMMARY="DOSBox is a DOS-Emulator that uses SDL library"
DESCRIPTION="DOSBox is a DOS-emulator that uses the SDL-library which
makes DOSBox very easy to port to different platforms. DOSBox has
already been ported to many different platforms, such as Windows,
BeOS, Linux, MacOS X...
DOSBox also emulates CPU:286/386 realmode/protected mode, Directory
FileSystem/XMS/EMS, Tandy/Hercules/CGA/EGA/VGA/VESA graphics, a
SoundBlaster/Gravis Ultra Sound card for excellent sound compatibility
with older games...
You can "re-live" the good old days with the help of DOSBox, it can
run plenty of the old classics that don't run on your new computer!
DOSBox is totally free of charge and OpenSource."
HOMEPAGE="http://www.dosbox.com"
SRC_URI="http://sourceforge.net/projects/dosbox/files/dosbox/0.74/dosbox-0.74.tar.gz/download"
CHECKSUM_MD5="b9b240fa87104421962d14eee71351e8"
REVISION="1"
LICENSE="GNU GPL v2"
COPYRIGHT="2002-2013 The DosBox Team"
ARCHITECTURES="x86 x86_64"
SECONDARY_ARCHITECTURES="x86 x86_64"
PROVIDES="
dosbox$secondaryArchSuffix = $portVersion
app:dosbox$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libsdl$secondaryArchSuffix
lib:libglu$secondaryArchSuffix
lib:libpng$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
devel:libglu$secondaryArchSuffix
devel:libpng$secondaryArchSuffix
devel:libz$secondaryArchSuffix
libsdl${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:autoconf
cmd:libtoolize
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:aclocal
"
SOURCE_DIR="dosbox-0.74"
PATCHES="
powf.patch
"
BUILD()
{
#libtoolize --force --copy --install
./configure --prefix=$prefix --disable-dynamic-core --bindir=$appsDir --datarootdir=$dataDir
make
}
INSTALL()
{
make install
addAppDeskbarSymlink $appsDir/dosbox "DOSBox"
}

View File

@@ -1,27 +0,0 @@
DESCRIPTION="an x86 emulator with DOS"
MESSAGE="This port requires gcc4."
HOMEPAGE="http://www.dosbox.com/"
SRC_URI="svn://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk/"
REVISION="1"
STATUS_HAIKU="unstable"
DEPEND="media-libs/libsdl >= 1.2 < "
BUILD()
{
cd dosbox-0.74-svn
libtoolize --force --copy --install
./autogen.sh
./configure --prefix=/boot/common --disable-dynamic-x86
make
}
INSTALL()
{
cd dosbox-0.74-svn
make install
}
# no TEST script available
COPYRIGHT="2012 The DOSBox Team"
LICENSE="GNU GPL v2"

File diff suppressed because it is too large Load Diff