From e8cc57a00cadd7de9decb481015dba77a93d1512 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Mon, 22 Apr 2013 13:47:28 +0200 Subject: [PATCH] Convert yasm recipes to actual recipes --- dev-lang/yasm/yasm-1.1.0.recipe | 54 ++++++++++++++++++++++++--------- dev-lang/yasm/yasm-1.2.0.recipe | 54 ++++++++++++++++++++++++--------- 2 files changed, 78 insertions(+), 30 deletions(-) diff --git a/dev-lang/yasm/yasm-1.1.0.recipe b/dev-lang/yasm/yasm-1.1.0.recipe index 08112aced..6be4ce273 100644 --- a/dev-lang/yasm/yasm-1.1.0.recipe +++ b/dev-lang/yasm/yasm-1.1.0.recipe @@ -1,30 +1,54 @@ -DESCRIPTION="Yasm assembler" +SUMMARY="The Yasm modular assembler" HOMEPAGE="http://www.tortall.net/projects/yasm/" SRC_URI="http://www.tortall.net/projects/yasm/releases/yasm-1.1.0.tar.gz" CHECKSUM_MD5="8392e5f2235c2c2a981e1a633f2698cb" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="" +LICENSE=" + Artistic + BSD (2-clause) + BSD (3-clause) + GNU GPL v2 + GNU LGPL v2 + " +COPYRIGHT="2001-2010 Peter Johnson and other Yasm developers." +REVISION="2" +ARCHITECTURES="x86_gcc2 ?x86" + +PROVIDES=" + yasm = $portVersion compat >= 1 + cmd:yasm = 1.1.0 compat >= 1 + lib:libyasm = 1.1.0 compat >= 1.1 + " +REQUIRES=" + haiku >= $haikuVersion + " +BUILD_REQUIRES=" + cmd:gcc + cmd:ld + cmd:libtoolize + cmd:make + " +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + " + +SOURCE_DIR="$portVersionedName" + BUILD() { - cd yasm-1.1.0 libtoolize --force --copy --install - COMMON_DOCS=`finddir B_COMMON_DOCUMENTATION_DIRECTORY` - ./configure --prefix=`finddir B_COMMON_DIRECTORY` \ - --mandir=$COMMON_DOCS/man \ + ./configure $configureDirArgs \ --disable-nls make } INSTALL() { - cd yasm-1.1.0 make install } -LICENSE="Artistic - BSD (2-clause) - BSD (3-clause) - GNU GPL v2 - GNU LGPL v2" -COPYRIGHT="2001-2010 Peter Johnson and other Yasm developers." + +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." diff --git a/dev-lang/yasm/yasm-1.2.0.recipe b/dev-lang/yasm/yasm-1.2.0.recipe index cf851af25..4d5eb44ff 100644 --- a/dev-lang/yasm/yasm-1.2.0.recipe +++ b/dev-lang/yasm/yasm-1.2.0.recipe @@ -1,30 +1,54 @@ -DESCRIPTION="Yasm assembler" +SUMMARY="The Yasm modular assembler" HOMEPAGE="http://www.tortall.net/projects/yasm/" SRC_URI="http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz" CHECKSUM_MD5="4cfc0686cf5350dd1305c4d905eb55a6" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="" +LICENSE=" + Artistic + BSD (2-clause) + BSD (3-clause) + GNU GPL v2 + GNU LGPL v2 + " +COPYRIGHT="2001-2011 Peter Johnson and other Yasm developers." +REVISION="2" +ARCHITECTURES="x86_gcc2 ?x86" + +PROVIDES=" + yasm = $portVersion compat >= 1 + cmd:yasm = 1.2.0 compat >= 1 + lib:libyasm = 1.2.0 compat >= 1.2 + " +REQUIRES=" + haiku >= $haikuVersion + " +BUILD_REQUIRES=" + cmd:gcc + cmd:ld + cmd:libtoolize + cmd:make + " +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + " + +SOURCE_DIR="$portVersionedName" + BUILD() { - cd yasm-1.2.0 libtoolize --force --copy --install - COMMON_DOCS=`finddir B_COMMON_DOCUMENTATION_DIRECTORY` - ./configure --prefix=`finddir B_COMMON_DIRECTORY` \ - --mandir=$COMMON_DOCS/man \ + ./configure $configureDirArgs \ --disable-nls make } INSTALL() { - cd yasm-1.2.0 make install } -LICENSE="Artistic - BSD (2-clause) - BSD (3-clause) - GNU GPL v2 - GNU LGPL v2" -COPYRIGHT="2001-2011 Peter Johnson and other Yasm developers." + +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."