2013-04-22 11:47:28 +00:00
|
|
|
SUMMARY="The Yasm modular assembler"
|
2016-02-17 19:26:37 +00:00
|
|
|
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 \
|
2016-02-26 15:33:51 +00:00
|
|
|
assembly of NASM or GAS syntax code into Win32 or Win64 object files."
|
2013-03-29 14:04:07 +00:00
|
|
|
HOMEPAGE="http://www.tortall.net/projects/yasm/"
|
2016-02-17 19:26:37 +00:00
|
|
|
COPYRIGHT="2001-2011 Peter Johnson and other Yasm developers."
|
2016-03-05 19:19:01 +00:00
|
|
|
LICENSE="Artistic
|
2013-04-22 11:47:28 +00:00
|
|
|
BSD (2-clause)
|
|
|
|
BSD (3-clause)
|
|
|
|
GNU GPL v2
|
2016-03-05 19:19:01 +00:00
|
|
|
GNU LGPL v2"
|
2013-06-18 09:23:59 +00:00
|
|
|
REVISION="3"
|
2016-02-17 19:26:37 +00:00
|
|
|
SOURCE_URI="http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz"
|
|
|
|
CHECKSUM_SHA256="768ffab457b90a20a6d895c39749adb547c1b7cb5c108e84b151a838a23ccf31"
|
|
|
|
|
2021-09-15 19:40:18 +00:00
|
|
|
ARCHITECTURES="all"
|
2013-04-22 11:47:28 +00:00
|
|
|
|
|
|
|
PROVIDES="
|
|
|
|
yasm = $portVersion compat >= 1
|
2013-06-18 09:23:59 +00:00
|
|
|
cmd:vsyasm = $portVersion compat >= 1
|
2013-04-25 15:56:52 +00:00
|
|
|
cmd:yasm = $portVersion compat >= 1
|
2013-06-18 09:23:59 +00:00
|
|
|
cmd:ytasm = $portVersion compat >= 1
|
|
|
|
devel:libyasm = $portVersion compat >= 1.2
|
2013-04-22 11:47:28 +00:00
|
|
|
"
|
|
|
|
REQUIRES="
|
2014-12-14 22:08:52 +00:00
|
|
|
haiku
|
2013-04-22 11:47:28 +00:00
|
|
|
"
|
2016-02-17 19:26:37 +00:00
|
|
|
|
2013-04-22 11:47:28 +00:00
|
|
|
BUILD_REQUIRES="
|
2013-08-04 22:14:47 +00:00
|
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
2014-12-14 22:08:52 +00:00
|
|
|
haiku_devel
|
2013-04-22 11:47:28 +00:00
|
|
|
cmd:gcc
|
|
|
|
cmd:ld
|
|
|
|
cmd:libtoolize
|
|
|
|
cmd:make
|
|
|
|
"
|
|
|
|
|
2013-03-29 16:31:03 +00:00
|
|
|
BUILD()
|
|
|
|
{
|
2013-03-29 14:04:07 +00:00
|
|
|
libtoolize --force --copy --install
|
2013-06-18 09:23:59 +00:00
|
|
|
runConfigure ./configure \
|
2013-03-29 14:04:07 +00:00
|
|
|
--disable-nls
|
2013-06-18 09:23:59 +00:00
|
|
|
make $jobArgs
|
|
|
|
|
2013-03-29 14:04:07 +00:00
|
|
|
}
|
|
|
|
|
2013-03-29 16:31:03 +00:00
|
|
|
INSTALL()
|
|
|
|
{
|
2013-03-29 14:04:07 +00:00
|
|
|
make install
|
2013-06-18 09:23:59 +00:00
|
|
|
|
|
|
|
prepareInstalledDevelLibs libyasm
|
2013-03-29 14:04:07 +00:00
|
|
|
}
|