diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2007-11-29 07:10:29 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2007-11-29 07:10:29 +0000 |
commit | b69815578c5aee4d1ea911e1254249b0f514e8d8 (patch) | |
tree | d3d5bc4b3e37b8e8c33776937ecb12e1eabfebad /dev-lang/nasm | |
parent | Stable for HPPA (bug #199740). (diff) | |
download | gentoo-2-b69815578c5aee4d1ea911e1254249b0f514e8d8.tar.gz gentoo-2-b69815578c5aee4d1ea911e1254249b0f514e8d8.tar.bz2 gentoo-2-b69815578c5aee4d1ea911e1254249b0f514e8d8.zip |
version bump
(Portage version: 2.1.3.19)
Diffstat (limited to 'dev-lang/nasm')
-rw-r--r-- | dev-lang/nasm/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lang/nasm/files/digest-nasm-2.00 | 3 | ||||
-rw-r--r-- | dev-lang/nasm/nasm-2.00.ebuild | 61 |
3 files changed, 70 insertions, 1 deletions
diff --git a/dev-lang/nasm/ChangeLog b/dev-lang/nasm/ChangeLog index 7665f6604a5b..e4387a4dd432 100644 --- a/dev-lang/nasm/ChangeLog +++ b/dev-lang/nasm/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lang/nasm # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/nasm/ChangeLog,v 1.45 2007/02/26 11:12:41 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/nasm/ChangeLog,v 1.46 2007/11/29 07:10:28 mr_bones_ Exp $ + +*nasm-2.00 (29 Nov 2007) + + 29 Nov 2007; Michael Sterrett <mr_bones_@gentoo.org> +nasm-2.00.ebuild: + version bump 24 Feb 2007; Danny van Dyk <kugelfang@gentoo.org> nasm-0.98.39-r3.ebuild: Marked stable on amd64. diff --git a/dev-lang/nasm/files/digest-nasm-2.00 b/dev-lang/nasm/files/digest-nasm-2.00 new file mode 100644 index 000000000000..d629019aa2b1 --- /dev/null +++ b/dev-lang/nasm/files/digest-nasm-2.00 @@ -0,0 +1,3 @@ +MD5 dbc0ee7e979b5f379f66514d650ad36f nasm-2.00.tar.bz2 719494 +RMD160 164274de6de7b61e73de675b4db4f6fc8ae21435 nasm-2.00.tar.bz2 719494 +SHA256 9950ac0015c66cfda994c2cb66f8e5d606f859af86bf6eeb5930bc7edca97f04 nasm-2.00.tar.bz2 719494 diff --git a/dev-lang/nasm/nasm-2.00.ebuild b/dev-lang/nasm/nasm-2.00.ebuild new file mode 100644 index 000000000000..c04a713893a1 --- /dev/null +++ b/dev-lang/nasm/nasm-2.00.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/nasm/nasm-2.00.ebuild,v 1.1 2007/11/29 07:10:28 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 +} |