diff options
-rw-r--r-- | dev-lang/nasm/Manifest | 4 | ||||
-rw-r--r-- | dev-lang/nasm/files/digest-nasm-0.98.38 | 1 | ||||
-rw-r--r-- | dev-lang/nasm/nasm-0.98.38.ebuild | 48 |
3 files changed, 51 insertions, 2 deletions
diff --git a/dev-lang/nasm/Manifest b/dev-lang/nasm/Manifest index f798fe0adfa6..2eb3d3aa3e34 100644 --- a/dev-lang/nasm/Manifest +++ b/dev-lang/nasm/Manifest @@ -1,6 +1,6 @@ -MD5 d70d00b3f2a35b4354d38fca2b1e3052 ChangeLog 3122 +MD5 95bb0c64ff7858bba5994ea3b3a583ff ChangeLog 3239 MD5 d5f1823abb4ce093751d2827d4fde9d6 nasm-0.98.37.ebuild 1130 -MD5 d5f1823abb4ce093751d2827d4fde9d6 nasm-0.98.38.ebuild 1130 +MD5 b417953a3db20a2e04f00d59a6b5e594 nasm-0.98.38.ebuild 1130 MD5 073c980e024cb2ae68af13a02e3cd898 nasm-0.98.36.ebuild 1123 MD5 c630822366bb6f18444c619566a4831b files/digest-nasm-0.98.37 65 MD5 988e60ffeb3fbb254a0b1537789b69bb files/digest-nasm-0.98.38 65 diff --git a/dev-lang/nasm/files/digest-nasm-0.98.38 b/dev-lang/nasm/files/digest-nasm-0.98.38 new file mode 100644 index 000000000000..c0a7c12c16be --- /dev/null +++ b/dev-lang/nasm/files/digest-nasm-0.98.38 @@ -0,0 +1 @@ +MD5 9f682490c132b070d54e395cb6ee145e nasm-0.98.38.tar.bz2 548618 diff --git a/dev-lang/nasm/nasm-0.98.38.ebuild b/dev-lang/nasm/nasm-0.98.38.ebuild new file mode 100644 index 000000000000..cadcaa4e11ac --- /dev/null +++ b/dev-lang/nasm/nasm-0.98.38.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/nasm/nasm-0.98.38.ebuild,v 1.1 2003/09/12 17:32:26 mholzer Exp $ + +DESCRIPTION="groovy little assembler" +HOMEPAGE="http://nasm.sourceforge.net/" +SRC_URI="mirror://sourceforge/nasm/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="-* ~x86" +IUSE="doc build" + +DEPEND="!build? ( dev-lang/perl ) + doc? ( app-text/ghostscript sys-apps/texinfo ) + sys-devel/gcc" + +src_unpack() { + unpack ${A} + + [ -z "`use doc`" ] && cd ${S} && epatch ${FILESDIR}/nasm-0.98.36-remove-doc-target.diff +} + +src_compile() { + ./configure --prefix=/usr || die + + if [ `use build` ] ; then + make nasm + else + make everything || die + fi +} + +src_install() { + if [ `use build` ] ; then + dobin nasm + else + dobin nasm ndisasm rdoff/{ldrdf,rdf2bin,rdf2ihx,rdfdump,rdflib,rdx} + dosym /usr/bin/rdf2bin /usr/bin/rdf2com + doman nasm.1 ndisasm.1 + dodoc AUTHORS CHANGES COPYING ChangeLog INSTALL README TODO + if [ `use doc` ] ; then + doinfo doc/info/* + dohtml doc/html/* + dodoc doc/nasmdoc.* + fi + fi +} |