From 714910dbd8edf192fb74a5cf9ddb52d5b494baec Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sun, 15 Nov 2020 20:36:48 +0100 Subject: [PATCH] Add recipe for hideur maikeur It got split from cpctools a while ago and I had never added the new package. And I need this tool again. --- .../hideur_maikeur/hideur_maikeur-2.0.recipe | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 dev-embedded/hideur_maikeur/hideur_maikeur-2.0.recipe diff --git a/dev-embedded/hideur_maikeur/hideur_maikeur-2.0.recipe b/dev-embedded/hideur_maikeur/hideur_maikeur-2.0.recipe new file mode 100644 index 000000000..c7645eda4 --- /dev/null +++ b/dev-embedded/hideur_maikeur/hideur_maikeur-2.0.recipe @@ -0,0 +1,50 @@ +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="x86_gcc2 ?x86 ?x86_64" + +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 +}