exherbo-impulze/packages/dev-lang/nasm/nasm.exlib
2011-08-14 20:48:40 +02:00

41 lines
1,021 B
Bash

# Copyright 2009 Daniel Mierswa <impulze@impulze.org>
# Distributed under the terms of the GNU General Public License v2
MY_PV="${PV/_rc/rc}"
MY_PNV="${PN}-${MY_PV}"
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/${MY_PV}/${MY_PNV}.tar.bz2
mirror://sourceforge/${PN}/${MY_PNV}.tar.bz2
"
LICENCES="BSD-2"
MYOPTIONS=""
DEPENDENCIES=""
REMOTE_IDS="freshmeat:nasm sourceforge:nasm"
UPSTREAM_DOCUMENTATION="${HOMEPAGE}/doc/"
WORK="${WORKBASE}/${MY_PNV}"
src_test() {
emake -C test golden
emake -C test test
}
src_install() {
emake INSTALL_ROOT="${IMAGE}" install
emagicdocs
}