diff options
-rw-r--r-- | dev-lang/nasm/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lang/nasm/nasm-2.05.01.ebuild | 50 |
2 files changed, 56 insertions, 1 deletions
diff --git a/dev-lang/nasm/ChangeLog b/dev-lang/nasm/ChangeLog index 69818c76348f..5db0bdca54e5 100644 --- a/dev-lang/nasm/ChangeLog +++ b/dev-lang/nasm/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lang/nasm # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/nasm/ChangeLog,v 1.53 2008/10/09 20:15:42 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/nasm/ChangeLog,v 1.54 2008/10/30 02:07:24 mr_bones_ Exp $ + +*nasm-2.05.01 (30 Oct 2008) + + 30 Oct 2008; Michael Sterrett <mr_bones_@gentoo.org> +nasm-2.05.01.ebuild: + version bump 09 Oct 2008; Markus Meier <maekke@gentoo.org> nasm-2.04.ebuild: x86 stable, bug #240542 diff --git a/dev-lang/nasm/nasm-2.05.01.ebuild b/dev-lang/nasm/nasm-2.05.01.ebuild new file mode 100644 index 000000000000..38d15bea84de --- /dev/null +++ b/dev-lang/nasm/nasm-2.05.01.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/nasm/nasm-2.05.01.ebuild,v 1.1 2008/10/30 02:07:24 mr_bones_ Exp $ + +inherit eutils toolchain-funcs flag-o-matic + +DESCRIPTION="groovy little assembler" +HOMEPAGE="http://nasm.sourceforge.net/" +SRC_URI="mirror://sourceforge/nasm/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" +IUSE="doc build" + +DEPEND="!build? ( dev-lang/perl ) + doc? ( virtual/ghostscript sys-apps/texinfo )" +RDEPEND="" + +src_compile() { + strip-flags + econf || die + + if use build; then + emake nasm || die "emake failed" + else + emake all || die "emake failed" + emake rdf || die "emake failed" + if use doc ; then + emake doc || die "emake failed" + fi + fi +} + +src_install() { + if use build; then + dobin nasm || die "dobin failed" + else + dobin nasm ndisasm rdoff/{ldrdf,rdf2bin,rdf2ihx,rdfdump,rdflib,rdx} \ + || die "dobin failed" + dosym /usr/bin/rdf2bin /usr/bin/rdf2com + doman nasm.1 ndisasm.1 + dodoc AUTHORS CHANGES ChangeLog README TODO + if use doc; then + doinfo doc/info/* + dohtml doc/html/* + dodoc doc/nasmdoc.* + fi + fi +} |