SUMMARY="Utlity to add AMSDOS header to files"
DESCRIPTION="Have you ever used a cross assembler for Z80 system ? Or one of \
picture converter like Graphics Wizard ? When you want to load them with a \
LOAD or a SAVE command, or else amsdos routines, you get an error message. \
Oh dear ! What's happening ?

Your file misses an amsdos HEADER. An amsdos header is just 128 bytes added \
before the file data which containing useful informations like user, size \
file, address of loading (when you invoke LOAD on a binary file), address of \
execution (when you invokes RUN on a binary file)...

Hideur Maikeur is a small util which allows you to add this header. Its use \
is simple, and yo can use it in a batch script because is a command line \
util. The syntax looks like a famous GNU C compiler :)."
HOMEPAGE="https://github.com/cpcsdk/hideur_maikeur"
COPYRIGHT="2002 Mounir Aittahar"
LICENSE="GNU GPL v2"
SOURCE_URI="https://github.com/cpcsdk/hideur_maikeur/archive/1c4b0c4c08769eef189d819ca5ed01c369774d82.tar.gz"
CHECKSUM_SHA256="02179640137ee5edeee52688e5f8c45f77f69cda20c1184af3d1ec2a12d35ccd"
SOURCE_DIR="hideur_maikeur-1c4b0c4c08769eef189d819ca5ed01c369774d82"
REVISION="1"

ARCHITECTURES="?all x86_gcc2"

PROVIDES="
	hideur_maikeur = $portVersion
	cmd:hideur
	"
REQUIRES="
	haiku$secondaryArchSuffix
	"

BUILD_REQUIRES="
	haiku${secondaryArchSuffix}_devel
	"
BUILD_PREREQUIRES="
	cmd:make
	cmd:gcc$secondaryArchSuffix
	"

BUILD()
{
	make $jobArgs -f Makefile-unix.eng
}

INSTALL()
{
	mkdir $binDir
	cp hideur $binDir
}
