mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
namen_asm: new recipe
This commit is contained in:
47
dev-embedded/naken_asm/naken_asm-2021.04.18.recipe
Normal file
47
dev-embedded/naken_asm/naken_asm-2021.04.18.recipe
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user