Files
haikuports/app-emulation/joyce/joyce-2.4.2.recipe
2023-07-04 17:58:04 +02:00

75 lines
1.9 KiB
Bash

SUMMARY="An emulator for the Amstrad PCW"
DESCRIPTION="JOYCE includes ANNE, which emulates the PCW16. Additional it can \
emulate:
- The Z80 CPU, using Ian Collier's Z80 core from xz80.
- The screen.
- The keyboard.
- The floppy disc controller - enough of it to support the Amstrad BIOS. \
Floppies are emulated with disc image files.
- The Centronics ports.
- The CPS8256 serial interface.
- The PCW8256 dot-matrix printer.
- The PCW9512 daisywheel printer.
- AMX or Kempston mice.
- The beeper."
HOMEPAGE="http://www.seasip.info/Unix/Joyce/index.html"
COPYRIGHT="2002-2017 John Elliott"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://www.seasip.info/Unix/Joyce/joyce-$portVersion.tar.gz"
CHECKSUM_SHA256="85659a6ac9b94fdf78c28d5d8d65a4f69e7520e1c02a915b971c2754695ab82c"
PATCHES="joyce-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
joyce$secondaryArchSuffix = $portVersion
cmd:lsgotek$secondaryArchSuffix = $portVersion
cmd:xanne$secondaryArchSuffix = $portVersion
cmd:xjoyce$secondaryArchSuffix = $portVersion
devel:lib765$secondaryArchSuffix
devel:libcpmredir$secondaryArchSuffix
devel:liblink$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libgl$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libSDL_1.2$secondaryArchSuffix
lib:libxml2$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libpng16$secondaryArchSuffix
devel:libSDL_1.2$secondaryArchSuffix
devel:libxml2$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:awk
cmd:cmp
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
"
BUILD()
{
export LDFLAGS="-lnetwork"
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
# These are already provided in the libdsk package.
rm $binDir/apriboot $binDir/dsk* $binDir/md3serial $libDir/libdsk*
prepareInstalledDevelLibs lib765 libcpmredir liblink
}