summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-06-10 16:44:49 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-06-10 16:44:49 +0000
commit647cc3b9fe6bdf0bb97bcf4160f7f988dda97122 (patch)
treef3c9d3f9f5937c0b145dd9f3b2828eaab4158e91 /dev-lang
parentamd64 stable, bug #220191 (diff)
downloadgentoo-2-647cc3b9fe6bdf0bb97bcf4160f7f988dda97122.tar.gz
gentoo-2-647cc3b9fe6bdf0bb97bcf4160f7f988dda97122.tar.bz2
gentoo-2-647cc3b9fe6bdf0bb97bcf4160f7f988dda97122.zip
version bump
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/nasm/ChangeLog7
-rw-r--r--dev-lang/nasm/nasm-2.03.ebuild61
2 files changed, 67 insertions, 1 deletions
diff --git a/dev-lang/nasm/ChangeLog b/dev-lang/nasm/ChangeLog
index 15b951a4358d..22373fe141d5 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.48 2008/02/28 02:25:11 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/nasm/ChangeLog,v 1.49 2008/06/10 16:44:49 mr_bones_ Exp $
+
+*nasm-2.03 (10 Jun 2008)
+
+ 10 Jun 2008; Michael Sterrett <mr_bones_@gentoo.org> +nasm-2.03.ebuild:
+ version bump
*nasm-2.02 (28 Feb 2008)
diff --git a/dev-lang/nasm/nasm-2.03.ebuild b/dev-lang/nasm/nasm-2.03.ebuild
new file mode 100644
index 000000000000..d845f7686ba5
--- /dev/null
+++ b/dev-lang/nasm/nasm-2.03.ebuild
@@ -0,0 +1,61 @@
+# 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.03.ebuild,v 1.1 2008/06/10 16:44:49 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.bz2"
+
+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_unpack() {
+ unpack ${A}
+ if [ "$(gcc-major-version)" -eq "2" ] ; then
+ cd "${S}"
+ sed -i \
+ -e 's:-std=c99::g' \
+ configure \
+ || die "sed failed"
+ fi
+}
+
+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
+}