d79d0a1d50
requires golden files to be created first
44 lines
1.1 KiB
Bash
44 lines
1.1 KiB
Bash
# Copyright 2009 Daniel Mierswa <impulze@impulze.org>
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
MYPV="${PV/_rc/rc}"
|
|
MYPNV="${PNV/_rc/rc}"
|
|
|
|
SUMMARY="An 80x86 and x86-64 assembler designed for portability and modularity."
|
|
DESCRIPTION="
|
|
It supports a range of object file formats, including Linux and *BSD a.out,
|
|
ELF, COFF, Mach-O, Microsoft 16-bit OBJ, Win32 and Win64. It will also
|
|
output plain binary files. Its syntax is designed to be simple and easy to
|
|
understand, similar to Intel's but less complex
|
|
"
|
|
HOMEPAGE="http://www.${PN}.us/"
|
|
DOWNLOADS="
|
|
${HOMEPAGE}/pub/${PN}/releasebuilds/${MYPV}/${MYPNV}.tar.bz2
|
|
mirror://sourceforge/${PN}/${MYPNV}.tar.bz2
|
|
"
|
|
|
|
if ever at_least 2.07 ; then
|
|
LICENCES="BSD-2"
|
|
else
|
|
LICENCES="LGPL-2.1"
|
|
fi
|
|
MYOPTIONS=""
|
|
|
|
DEPENDENCIES=""
|
|
|
|
REMOTE_IDS="freshmeat:NASM - The Netwide Assembler sourceforge:nasm"
|
|
|
|
UPSTREAM_DOCUMENTATION="${HOMEPAGE}/doc/"
|
|
|
|
DEFAULT_SRC_INSTALL_PARAMS+=(
|
|
INSTALLROOT="${IMAGE}"
|
|
)
|
|
|
|
WORK="${WORKBASE}/${MYPNV}"
|
|
|
|
src_test() {
|
|
emake -C test golden
|
|
emake -C test test
|
|
}
|
|
|