mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
* Referring the current haiku version explicitly is not needed, since the RequiresUpdater takes care of setting the version of Haiku used for building a package.
75 lines
2.2 KiB
Plaintext
75 lines
2.2 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
|
|
app: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
|
|
"
|
|
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: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"
|
|
}
|