2009-05-23 17:08:25 +02:00
|
|
|
# Copyright 2009 Daniel Mierswa <impulze@impulze.org>
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2008-12-05 18:14:07 +01:00
|
|
|
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
|
|
|
|
"
|
|
|
|
|
2011-08-10 18:12:31 +02:00
|
|
|
LICENCES="BSD-2"
|
2008-12-05 18:14:07 +01:00
|
|
|
MYOPTIONS=""
|
|
|
|
|
|
|
|
DEPENDENCIES=""
|
|
|
|
|
2011-08-10 18:26:23 +02:00
|
|
|
REMOTE_IDS="freshmeat:nasm sourceforge:nasm"
|
2008-12-05 18:14:07 +01:00
|
|
|
|
|
|
|
UPSTREAM_DOCUMENTATION="${HOMEPAGE}/doc/"
|
|
|
|
|
|
|
|
WORK="${WORKBASE}/${MYPNV}"
|
2009-07-29 12:55:27 +02:00
|
|
|
|
2010-12-05 05:04:39 +01:00
|
|
|
src_test() {
|
|
|
|
emake -C test golden
|
|
|
|
emake -C test test
|
|
|
|
}
|
|
|
|
|
2011-08-11 14:52:47 +02:00
|
|
|
src_install() {
|
|
|
|
emake INSTALL_ROOT="${IMAGE}" install
|
|
|
|
emagicdocs
|
|
|
|
}
|
|
|
|
|