Files
haikuports/dev-embedded/2cdt/2cdt-2016.06.17.recipe
Adrien Destugues 7ca338d112 2cdt: update to current version
- Archive was repackaged, but there is no changelog?
- Fix patchset filename
- Add SOURCE_FILENAME since the archive on the server does not change
  name accross versions.
2016-07-26 07:25:54 +02:00

62 lines
1.9 KiB
Bash

SUMMARY="Convert files into tape images for Amstrad computers"
DESCRIPTION="2CDT is a utility to transfer files into a .CDT Tape-Image.
A .CDT is a tape-image file which describes the data stored on a cassette \
tape. This file format is very powerful and can describe fast and custom \
loaders as well as standard operating system formats.
The .CDT file format is identical to the .TZX format. The extension is \
used to differentiate between Spectrum and Amstrad Tape-Images.
The .TZX file format was originally designed to store Spectrum tape \
programs, its format can be found from various sources, one of these is \
\"World Of Spectrum\": http://www.void.jump.org/.
There are a number of tools which already create .TZX files: Taper, Voc2TZX \
and MakeTZX. However, these are designed to recognise Spectrum tape loaders, \
and so do not do well at creating a tape-image for Amstrad formats.
2CDT has been designed as a starting point for further Amstrad CDT tools, \
and as a program to generate reference tape-images which can be used by \
emulator authors to support this tape-image format in their programs.
This tool is designed to \"inject\" one or more file into a .CDT in the \
format written by the Amstrad operating system. The tool allows the user to
define the .CDT \"recording\" method and baud rate."
HOMEPAGE="http://cpctech.org.uk/"
COPYRIGHT="2000-2014 Kevin Thacker"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://cpctech.cpc-live.com/download/2cdt.zip"
SOURCE_FILENAME="2cdt-$portVersion.zip"
CHECKSUM_SHA256="8511b28e4d0a02950a3392942a792f86bf029ca92aa116d23c8f3b969d84c9c8"
SOURCE_DIR="2cdt"
PATCHES="2cdt-$portVersion.patchset"
ARCHITECTURES="x86_gcc2"
PROVIDES="
2cdt = $portVersion
cmd:2cdt
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:make
"
BUILD()
{
make $jobArgs
}
INSTALL()
{
mkdir -p $binDir
cp 2cdt $binDir
}