joyce-2.2.12.recipe revision 29fbe95d
1SUMMARY="An emulator for the Amstrad PCW"
2DESCRIPTION="JOYCE includes ANNE, which emulates the PCW16. Additional it can \
3emulate:
4
5- The Z80 CPU, using Ian Collier's Z80 core from xz80.
6- The screen.
7- The keyboard.
8- The floppy disc controller - enough of it to support the Amstrad BIOS. \
9Floppies are emulated with disc image files.
10- The Centronics ports.
11- The CPS8256 serial interface.
12- The PCW8256 dot-matrix printer.
13- The PCW9512 daisywheel printer.
14- AMX or Kempston mice.
15- The beeper."
16HOMEPAGE="http://www.seasip.info/Unix/Joyce/index.html"
17COPYRIGHT="2002-2017 John Elliott"
18LICENSE="GNU GPL v2"
19REVISION="1"
20SOURCE_URI="http://www.seasip.info/Unix/Joyce/joyce-$portVersion.tar.gz"
21CHECKSUM_SHA256="3f2f0b385a66c8ff63455b73f4018b562e52c19fc85de7e811800bec4e9837fc"
22PATCHES="joyce-2.2.6.patchset"
23
24ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
25SECONDARY_ARCHITECTURES="x86"
26
27PROVIDES="
28	joyce$secondaryArchSuffix = $portVersion
29	cmd:xanne$secondaryArchSuffix = $portVersion
30	cmd:xjoyce$secondaryArchSuffix = $portVersion
31	devel:lib765$secondaryArchSuffix
32	devel:libcpmredir$secondaryArchSuffix
33	devel:liblink$secondaryArchSuffix
34	"
35REQUIRES="
36	haiku$secondaryArchSuffix
37	lib:libgl$secondaryArchSuffix
38	lib:libpng16$secondaryArchSuffix
39	lib:libsdl$secondaryArchSuffix
40	lib:libxml2$secondaryArchSuffix
41	lib:libz$secondaryArchSuffix
42	"
43
44BUILD_REQUIRES="
45	haiku${secondaryArchSuffix}_devel
46	devel:libpng16$secondaryArchSuffix
47	devel:libsdl$secondaryArchSuffix
48	devel:libxml2$secondaryArchSuffix
49	devel:libz$secondaryArchSuffix
50	"
51BUILD_PREREQUIRES="
52	cmd:awk
53	cmd:cmp
54	cmd:gcc$secondaryArchSuffix
55	cmd:ld$secondaryArchSuffix
56	cmd:make
57	"
58
59BUILD()
60{
61	export LDFLAGS="-lnetwork"
62	runConfigure ./configure
63	make $jobArgs
64}
65
66INSTALL()
67{
68	make install
69
70	# These are already provided in the libdsk package.
71	rm $binDir/apriboot $binDir/dsk* $binDir/md3serial $libDir/libdsk*
72	prepareInstalledDevelLibs lib765 libcpmredir liblink
73}
74