mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
77 lines
1.5 KiB
Bash
77 lines
1.5 KiB
Bash
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="?all !x86_gcc2"
|
|
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
|
|
}
|