Files
haikuports/games-emulation/dosbox/dosbox-0.74.recipe
Adrien Destugues c2123bb6bb Dosbox: fix build and move to $binDir
* Dosbox is not only a standalone application, it is also used to run
DOS executables non-interactively
* There are several front-ends for it which could be put in $appsDir
* In either case, things are simpler if Dosbox is in the path, it would
not be if installed in home/config/apps.
2015-04-06 12:55:17 +02:00

79 lines
2.3 KiB
Plaintext

SUMMARY="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_SHA256="13f74916e2d4002bad1978e55727f302ff6df3d9be2f9b0e271501bd0a938e05"
REVISION="1"
LICENSE="GNU GPL v2"
COPYRIGHT="2002-2013 The DosBox Team"
ARCHITECTURES="x86 x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
fi
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
dosbox$secondaryArchSuffix = $portVersion
cmd:dosbox$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
lib:libsdl_net$secondaryArchSuffix
lib:libsdl_sound$secondaryArchSuffix
lib:libglu$secondaryArchSuffix
lib:libpng$secondaryArchSuffix
lib:libz$secondaryArchSuffix
lib:libGL$secondaryArchSuffix
lib:libgcc_s$secondaryArchSuffix
lib:libstdc++$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libglu$secondaryArchSuffix
devel:libpng$secondaryArchSuffix
devel:libz$secondaryArchSuffix
devel:libsdl_net$secondaryArchSuffix
devel:libsdl_sound$secondaryArchSuffix
libsdl${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:autoconf
cmd:libtoolize
cmd:find
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:aclocal
"
SOURCE_DIR="dosbox-0.74"
PATCHES="
powf.patch
"
BUILD()
{
LDFLAGS=-lnetwork runConfigure ./configure --disable-dynamic-core
make $jobArgs
}
INSTALL()
{
make install
addAppDeskbarSymlink $binDir/dosbox "DOSBox"
}