2cdt-2016.10.16.recipe revision 901c47ba
1SUMMARY="Convert files into tape images for Amstrad computers"
2DESCRIPTION="2CDT is a utility to transfer files into a .CDT Tape-Image.
3A .CDT is a tape-image file which describes the data stored on a cassette \
4tape. This file format is very powerful and can describe fast and custom \
5loaders as well as standard operating system formats.
6
7The .CDT file format is identical to the .TZX format. The extension is \
8used to differentiate between Spectrum and Amstrad Tape-Images.
9The .TZX file format was originally designed to store Spectrum tape \
10programs, its format can be found from various sources, one of these is \
11\"World Of Spectrum\": http://www.void.jump.org/.
12
13There are a number of tools which already create .TZX files: Taper, Voc2TZX \
14and MakeTZX. However, these are designed to recognise Spectrum tape loaders, \
15and so do not do well at creating a tape-image for Amstrad formats.
16
172CDT has been designed as a starting point for further Amstrad CDT tools, \
18and as a program to generate reference tape-images which can be used by \
19emulator authors to support this tape-image format in their programs.
20
21This tool is designed to \"inject\" one or more file into a .CDT in the \
22format written  by the Amstrad operating system. The tool allows the user to
23define the .CDT \"recording\" method and baud rate."
24HOMEPAGE="http://cpctech.org.uk/"
25COPYRIGHT="2000-2014 Kevin Thacker"
26LICENSE="GNU GPL v2"
27REVISION="1"
28SOURCE_URI="http://cpctech.cpc-live.com/download/2cdt.zip"
29SOURCE_FILENAME="2cdt-$portVersion.zip"
30CHECKSUM_SHA256="490bba3a1ecac40392093943e52471d6a35df0bbccfb223481060da28bc3a1af"
31SOURCE_DIR="2cdt"
32#PATCHES="2cdt-$portVersion.patchset"
33
34ARCHITECTURES="x86_gcc2"
35
36PROVIDES="
37	2cdt = $portVersion
38	cmd:2cdt
39	"
40REQUIRES="
41	haiku
42	"
43
44BUILD_REQUIRES="
45	haiku_devel
46	"
47BUILD_PREREQUIRES="
48	cmd:gcc
49	cmd:make
50	"
51
52BUILD()
53{
54	make $jobArgs
55}
56
57INSTALL()
58{
59	mkdir -p $binDir
60	cp 2cdt $binDir
61}
62