mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 14:08:51 +02:00
71 lines
2.1 KiB
Bash
71 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"
|
|
COPYRIGHT="2002-2013 The DosBox Team"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="4"
|
|
SOURCE_URI="http://sourceforge.net/projects/dosbox/files/dosbox/$portVersion/dosbox-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="13f74916e2d4002bad1978e55727f302ff6df3d9be2f9b0e271501bd0a938e05"
|
|
PATCHES="powf.patch"
|
|
ADDITIONAL_FILES="dosbox.rdef"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
dosbox$secondaryArchSuffix = $portVersion
|
|
cmd:dosbox$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libsdl_1.2$secondaryArchSuffix
|
|
lib:libsdl_net_1.2$secondaryArchSuffix
|
|
lib:libsdl_sound_1.0$secondaryArchSuffix
|
|
lib:libglu$secondaryArchSuffix
|
|
lib:libpng16$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
lib:libGL$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libglu$secondaryArchSuffix
|
|
devel:libpng16$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
devel:libsdl_net_1.2$secondaryArchSuffix
|
|
devel:libsdl_sound_1.0$secondaryArchSuffix
|
|
devel:libsdl_1.2$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:autoconf
|
|
cmd:libtoolize
|
|
cmd:find
|
|
cmd:make
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:aclocal
|
|
"
|
|
|
|
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"
|
|
}
|