From 69ea260415e818c73d9976d48e37a241b819d2d2 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Thu, 19 Aug 2021 21:15:30 +0200 Subject: [PATCH] dasmxx: new recipe. --- dev-embedded/dasmxx/dasmxx-0.1.202108.recipe | 76 ++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 dev-embedded/dasmxx/dasmxx-0.1.202108.recipe diff --git a/dev-embedded/dasmxx/dasmxx-0.1.202108.recipe b/dev-embedded/dasmxx/dasmxx-0.1.202108.recipe new file mode 100644 index 000000000..92468f5ae --- /dev/null +++ b/dev-embedded/dasmxx/dasmxx-0.1.202108.recipe @@ -0,0 +1,76 @@ +SUMMARY="Disassemblers for a variety of popular 8-bit and 16-bit microprocessors" +DESCRIPTION="Features: + +- Fast, retargetable disassembler +- Script-driven disassembly +- Reads raw binary files +- Output include verbose listing for analysis and extensive cross-reference + +Supported Processors: + +- Atmel AVR +- Intel 8048 +- Intel 8051 +- Intel 8080/8085 +- Intel 8086/8088 +- Intel 8096 (including 196 variants) +- Mostek 6502 +- Motorola 6805 family +- Motorola 6809 +- NEC 78K/III (uPD78310 family) +- Texas Instruments TMS7000 +- Zilog Z80 +- RCA CDP1802 (dinosaur!) +" +HOMEPAGE="https://github.com/nejohnson/dasmxx" +COPYRIGHT="2015-2021 Neil Johnson" +LICENSE="BSD (3-clause)" +SOURCE_URI="https://github.com/nejohnson/dasmxx/archive/7fa35130586e42f27be5015faa13763c7b85a5d1.tar.gz" +SOURCE_DIR="dasmxx-7fa35130586e42f27be5015faa13763c7b85a5d1/src" +CHECKSUM_SHA256="52cabc63b13b27d0f090d5d4a7789d8738044a8f24fc09606cbfca160449f51c" +REVISION="1" + +ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + dasmxx$secondaryArchSuffix = $portVersion + cmd:dasm02 + cmd:dasm05 + cmd:dasm09 + cmd:dasm1802 + cmd:dasm48 + cmd:dasm51 + cmd:dasm7000 + cmd:dasm78k3 + cmd:dasm85 + cmd:dasm96 + cmd:dasmavr + cmd:dasmx86 + cmd:dasmz80 + cmd:txt2bin + " +REQUIRES=" + haiku$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + " +BUILD_PREREQUIRES=" + cmd:make + cmd:gcc$secondaryArchSuffix + " + +BUILD() +{ + make $jobArgs +} + +INSTALL() +{ + mkdir -p $prefix/bin + + cp dasm02 dasm05 dasm09 dasm1802 dasm48 dasm51 dasm7000 dasm78k3 dasm85 \ + dasm96 dasmavr dasmx86 dasmz80 txt2bin $prefix/bin +}