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
|
|
|
|
|
2011-08-12 13:26:46 +02:00
|
|
|
MY_PV="${PV/_rc/rc}"
|
|
|
|
MY_PNV="${PN}-${MY_PV}"
|
2008-12-05 18:14:07 +01:00
|
|
|
|
|
|
|
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/"
|
2011-08-12 13:27:43 +02:00
|
|
|
DOWNLOADS="${HOMEPAGE}/pub/${PN}/releasebuilds/${MY_PV}/${MY_PNV}.tar.bz2"
|
2008-12-05 18:14:07 +01:00
|
|
|
|
2011-08-10 18:12:31 +02:00
|
|
|
LICENCES="BSD-2"
|
2008-12-05 18:14:07 +01:00
|
|
|
MYOPTIONS=""
|
|
|
|
|
|
|
|
DEPENDENCIES=""
|
|
|
|
|
2011-08-12 13:27:43 +02:00
|
|
|
REMOTE_IDS="freshmeat:nasm"
|
2008-12-05 18:14:07 +01:00
|
|
|
|
|
|
|
UPSTREAM_DOCUMENTATION="${HOMEPAGE}/doc/"
|
|
|
|
|
2011-08-12 13:26:46 +02:00
|
|
|
WORK="${WORKBASE}/${MY_PNV}"
|
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() {
|
2011-08-12 13:20:44 +02:00
|
|
|
emake -j1 INSTALLROOT="${IMAGE}" install
|
2011-08-12 13:19:03 +02:00
|
|
|
emagicdocs
|
2011-08-11 14:52:47 +02:00
|
|
|
}
|
|
|
|
|