0
0
Fork 0
haikuports/dev-embedded/cpcsdk/cpctools-0.3.1.recipe

67 lines
1.4 KiB
Bash

SUMMARY="Tools for Amstrad/Schneider CPC software development"
DESCRIPTION="This is a collection of various tools for cross development for \
Amstrad CPC machines. The goal is to provide a fast and automated \"modify, \
build, run\" development cycle in line with the UNIX way of doing things.
Some graphical tools are also provided, with a focus on debugging, analyzing, \
reverse engineering and experimentations."
HOMEPAGE="https://github.com/cpcsdk/cpctools"
COPYRIGHT="2005 Thierry Jouin
2008-2019 Romain Giot, Adrien Destugues, Quentin Carlier, Mauricio Muñoz Lucero and other contributors"
LICENSE="MIT
GNU GPL v2"
REVISION="1"
SOURCE_URI="https://github.com/cpcsdk/cpctools/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="e36b873e092dbe31a6a9a53423acc525c56680bf030372d992adf9741d59398f"
SOURCE_DIR="cpctools-$portVersion"
ARCHITECTURES="x86_gcc2"
PROVIDES="
cpctools = $portVersion
cmd:aft2
cmd:cpcDSK
cmd:cpcfs
cmd:createSnapshot
cmd:damsConverter
cmd:dataDBGenerator
cmd:dataLinker
lib:libcpc
"
REQUIRES="
haiku
lib:libdsk
lib:libpng16
lib:libz
"
BUILD_REQUIRES="
haiku_devel
devel:libdsk
devel:libpng16
devel:libz
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:gcc
cmd:make
"
BUILD()
{
mkdir -p cpctools.build
pushd cpctools.build
cmake ../cpctools $cmakeDirArgs
make $jobArgs
popd
}
INSTALL()
{
pushd cpctools.build
make install
popd
rm -rf $prefix/docs
}