Files
haikuports/games-emulation/dosbox/dosbox-0.74.recipe
2013-12-12 15:09:52 +00:00

77 lines
2.2 KiB
Plaintext

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"
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 x86_64"
PROVIDES="
dosbox$secondaryArchSuffix = $portVersion
app:dosbox$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libsdl$secondaryArchSuffix
lib:libsdl_net$secondaryArchSuffix
lib:libsdl_sound$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
devel:libsdl_net$secondaryArchSuffix
devel:libsdl_sound$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()
{
./configure --prefix=$prefix --disable-dynamic-core --bindir=$appsDir --datarootdir=$dataDir
make
}
INSTALL()
{
make install
addAppDeskbarSymlink $appsDir/dosbox "DOSBox"
}