mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
74 lines
1.9 KiB
Bash
74 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="3f2f0b385a66c8ff63455b73f4018b562e52c19fc85de7e811800bec4e9837fc"
|
|
PATCHES="joyce-2.2.6.patchset"
|
|
|
|
ARCHITECTURES="all !x86_gcc2 ?x86"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
joyce$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$secondaryArchSuffix
|
|
lib:libxml2$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libpng16$secondaryArchSuffix
|
|
devel:libsdl$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
|
|
}
|