mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +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.
51 lines
1.2 KiB
Bash
51 lines
1.2 KiB
Bash
SUMMARY="A simple assember and linker for 8086 - 80386 machine code"
|
|
DESCRIPTION="
|
|
as86 is an assembler for the 8086..80386 processors, it's syntax is closer \
|
|
to the intel/microsoft form rather than the more normal generic form of \
|
|
the unix system assembler.
|
|
The linker understands only the object files produced by the as86 assembler, \
|
|
it can link them into either an impure or a separate I&D executable."
|
|
HOMEPAGE="http://v3.sk/~lkundrak/dev86/"
|
|
COPYRIGHT="1994 Bruce Evans
|
|
1999 Robert de Bath"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="2"
|
|
SOURCE_URI="http://v3.sk/~lkundrak/dev86/bin86-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="021e37cde3a20632c4c9000993cb4aa9f58cb82b1d3c26b9aeb62d6566925738"
|
|
PATCHES="bin86-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
bin86$secondaryArchSuffix = $portVersion compat >= 0
|
|
cmd:as86
|
|
cmd:ld86
|
|
cmd:nm86
|
|
cmd:objdump86
|
|
cmd:size86
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $binDir $manDir
|
|
make BINDIR=$binDir MANDIR=$manDir install
|
|
}
|