1SUMMARY="Disassemblers for a variety of popular 8-bit and 16-bit microprocessors"
2DESCRIPTION="Features:
3
4- Fast, retargetable disassembler
5- Script-driven disassembly
6- Reads raw binary files
7- Output include verbose listing for analysis and extensive cross-reference
8
9Supported Processors:
10
11- Atmel AVR
12- Intel 8048
13- Intel 8051
14- Intel 8080/8085
15- Intel 8086/8088
16- Intel 8096 (including 196 variants)
17- Mostek 6502
18- Motorola 6805 family
19- Motorola 6809
20- NEC 78K/III (uPD78310 family)
21- Texas Instruments TMS7000
22- Zilog Z80
23- RCA CDP1802 (dinosaur!)
24"
25HOMEPAGE="https://github.com/nejohnson/dasmxx"
26COPYRIGHT="2015-2021 Neil Johnson"
27LICENSE="BSD (3-clause)"
28SOURCE_URI="https://github.com/nejohnson/dasmxx/archive/7fa35130586e42f27be5015faa13763c7b85a5d1.tar.gz"
29SOURCE_DIR="dasmxx-7fa35130586e42f27be5015faa13763c7b85a5d1/src"
30CHECKSUM_SHA256="52cabc63b13b27d0f090d5d4a7789d8738044a8f24fc09606cbfca160449f51c"
31REVISION="1"
32
33ARCHITECTURES="?all !x86_gcc2"
34SECONDARY_ARCHITECTURES="x86"
35
36PROVIDES="
37	dasmxx$secondaryArchSuffix = $portVersion
38	cmd:dasm02
39	cmd:dasm05
40	cmd:dasm09
41	cmd:dasm1802
42	cmd:dasm48
43	cmd:dasm51
44	cmd:dasm7000
45	cmd:dasm78k3
46	cmd:dasm85
47	cmd:dasm96
48	cmd:dasmavr
49	cmd:dasmx86
50	cmd:dasmz80
51	cmd:txt2bin
52	"
53REQUIRES="
54	haiku$secondaryArchSuffix
55	"
56
57BUILD_REQUIRES="
58	haiku${secondaryArchSuffix}_devel
59	"
60BUILD_PREREQUIRES="
61	cmd:make
62	cmd:gcc$secondaryArchSuffix
63	"
64
65BUILD()
66{
67	make $jobArgs
68}
69
70INSTALL()
71{
72	mkdir -p $prefix/bin
73
74	cp dasm02 dasm05 dasm09 dasm1802 dasm48 dasm51 dasm7000 dasm78k3 dasm85 \
75		dasm96 dasmavr dasmx86 dasmz80 txt2bin $prefix/bin
76}
77