Add recipe for galasm

This commit is contained in:
Adrien Destugues
2020-10-30 15:47:54 +01:00
parent 94964c4e88
commit 8810c3cde3
2 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
SUMMARY="Portable GAL assembler"
DESCRIPTION="GALasm was created simply because there were no other \
open source GAL assemblers. The assembler core is basically the one of GALer, \
a GAL development environment for the Amiga platform."
HOMEPAGE="https://github.com/dwery/galasm"
COPYRIGHT="1998-2003 Alessandro Zummo
1991-96 Christian Habermann"
LICENSE="galer"
SOURCE_URI="https://github.com/dwery/galasm/archive/3aeee938852e66ce68b02d51a61cc4845ae4d15f.tar.gz"
SOURCE_DIR="galasm-3aeee938852e66ce68b02d51a61cc4845ae4d15f"
SOURCE_FILENAME="$portName-$portVersion.tar.gz"
CHECKSUM_SHA256="774c4e14b409c0ff18f6ea9d17d949b22e852bd34f82bcd387b45f331a70a2f4"
REVISION="1"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES="
galasm = $portVersion
cmd:galasm
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc$secondaryArchSuffix
"
BUILD()
{
cd src
make $jobArgs
}
INSTALL()
{
mkdir -p $binDir
cp src/galasm $binDir
mkdir -p $docDir
cp -r galer/* $docDir
}

View File

@@ -0,0 +1,15 @@
I give permission for anyone to freely distribute the SOFTWARE so long
as all files are distributed with it. In no way should any part of
GALer (software or hardware) be sold for profit.
GALer is SHAREWARE. If you want to get the circuit diagram for the GAL
device programmer please send 20 DM or 15 US $ to my address. If you want
to send me a foreign cheque please add 10 US $ for cashing.
If you send me a disk you will be sent the next update of GALer when it
becomes available.
The circiut diagram of the GAL device programmer is NOT freely
distributable. It is also not allowed to sell the GAL device programmer
for profit.