73 lines
1.6 KiB
Bash
73 lines
1.6 KiB
Bash
SUMMARY="The Yasm modular assembler"
|
|
DESCRIPTION="
|
|
Yasm is a complete rewrite of the NASM assembler under the “new” BSD License \
|
|
(some portions are under other licenses, see COPYING for details).
|
|
Yasm currently supports the x86 and AMD64 instruction sets, accepts NASM and \
|
|
GAS assembler syntaxes, outputs binary, ELF32, ELF64, 32 and 64-bit Mach-O, \
|
|
RDOFF2, COFF, Win32, and Win64 object formats, and generates source debugging \
|
|
information in STABS, DWARF 2, and CodeView 8 formats.
|
|
Yasm can be easily integrated into Visual Studio 2005/2008 and 2010 for \
|
|
assembly of NASM or GAS syntax code into Win32 or Win64 object files.
|
|
"
|
|
HOMEPAGE="http://www.tortall.net/projects/yasm/"
|
|
COPYRIGHT="2001-2014 Peter Johnson and other Yasm developers."
|
|
LICENSE="
|
|
Artistic
|
|
BSD (2-clause)
|
|
BSD (3-clause)
|
|
GNU GPL v2
|
|
GNU LGPL v2
|
|
"
|
|
REVISION="5"
|
|
SOURCE_URI="http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz"
|
|
CHECKSUM_SHA256="3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
yasm = $portVersion compat >= 1
|
|
cmd:vsyasm = $portVersion compat >= 1
|
|
cmd:yasm = $portVersion compat >= 1
|
|
cmd:ytasm = $portVersion compat >= 1
|
|
devel:libyasm = $portVersion compat >= 1.2
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku_devel
|
|
cmd:gcc
|
|
cmd:ld
|
|
cmd:libtoolize
|
|
cmd:make
|
|
"
|
|
|
|
defineDebugInfoPackage yasm \
|
|
$binDir/vsyasm \
|
|
$binDir/yasm \
|
|
$binDir/ytasm
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
runConfigure ./configure \
|
|
--disable-nls --disable-dependency-tracking
|
|
make $jobArgs
|
|
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libyasm
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|