Files
haikuports/games-emulation/dosbox/dosbox-0.74.recipe
Sergei Reznikov e0ed62132a DOSBox: add icon
2015-11-14 11:51:05 +03:00

72 lines
2.1 KiB
Bash

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"
SOURCE_URI="http://sourceforge.net/projects/dosbox/files/dosbox/0.74/dosbox-0.74.tar.gz/download"
CHECKSUM_SHA256="13f74916e2d4002bad1978e55727f302ff6df3d9be2f9b0e271501bd0a938e05"
REVISION="2"
LICENSE="GNU GPL v2"
COPYRIGHT="2002-2013 The DosBox Team"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
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
"
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
addResourcesToBinaries $portDir/additional-files/dosbox.rdef $binDir/dosbox
addAppDeskbarSymlink $binDir/dosbox "DOSBox"
}