Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: haikuports/haikuports
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4f37fbb379f4
Choose a base ref
...
head repository: haikuports/haikuports
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5da4eb84cc9d
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Aug 19, 2021

  1. dasmxx: new recipe.

    pulkomandy committed Aug 19, 2021
    Copy the full SHA
    69ea260 View commit details
  2. namen_asm: new recipe

    pulkomandy committed Aug 19, 2021
    Copy the full SHA
    5da4eb8 View commit details
Showing with 123 additions and 0 deletions.
  1. +76 −0 dev-embedded/dasmxx/dasmxx-0.1.202108.recipe
  2. +47 −0 dev-embedded/naken_asm/naken_asm-2021.04.18.recipe
76 changes: 76 additions & 0 deletions dev-embedded/dasmxx/dasmxx-0.1.202108.recipe
Original file line number Diff line number Diff line change
@@ -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
}
47 changes: 47 additions & 0 deletions dev-embedded/naken_asm/naken_asm-2021.04.18.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
SUMMARY="Lightweight multi-target assembler/disassembler"
DESCRIPTION="Lightweight assembler / disassembler with a focus on being easy \
to compile (no dependencies) and easy to use. It was originally called \
naken430asm, but since it has been expanded it to support many more CPUs it \
has been renamed to naken_asm. Additionally, there is also a simulator for \
some of the supported CPUs."
HOMEPAGE="http://www.mikekohn.net/micro/naken_asm.php"
COPYRIGHT="2012-2021 Mike Kohn"
LICENSE="GNU GPL v3"
SOURCE_URI="http://www.mikekohn.net/downloads/naken_asm/naken_asm-2021-04-18.tar.gz"
CHECKSUM_SHA256="307969c9f366fd22fc89a892e3e57f955f5fcc380a7775e0ae8b0795bb394dfe"
SOURCE_DIR="naken_asm-2021-04-18"
REVISION="1"

ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86"

PROVIDES="
naken_asm$secondaryArchSuffix = $portVersion
cmd:naken_asm
cmd:naken_util
"
REQUIRES="
haiku$secondaryArchSuffix
"

BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc$secondaryArchSuffix
"

BUILD()
{
./configure --prefix=$prefix
make $jobArgs
}

INSTALL()
{
make install
mkdir -p $developDir/tools
mv $prefix/share/naken_asm $developDir/tools
rmdir $prefix/share
}