summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/nasm/ChangeLog7
-rw-r--r--dev-lang/nasm/files/digest-nasm-0.98.341
-rw-r--r--dev-lang/nasm/files/nasm-0.98.34-remove-doc-target.diff39
-rw-r--r--dev-lang/nasm/nasm-0.98.34.ebuild58
4 files changed, 104 insertions, 1 deletions
diff --git a/dev-lang/nasm/ChangeLog b/dev-lang/nasm/ChangeLog
index b15426a1eab6..c109e20db13d 100644
--- a/dev-lang/nasm/ChangeLog
+++ b/dev-lang/nasm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/nasm
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/nasm/ChangeLog,v 1.8 2002/09/05 10:25:32 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/nasm/ChangeLog,v 1.9 2002/09/08 07:44:26 cardoe Exp $
+
+*nasm-0.98.34 (08 Sep 2002)
+
+ 08 Sep 2002; Doug Goldstein <cardoe@gentoo.org> nasm-0.98.34.ebuild, nasm-0.98.34-remove-doc-target.diff :
+ Updated to new version and creates new patches
*nasm-0.98.31-r1 (18 May 2002)
diff --git a/dev-lang/nasm/files/digest-nasm-0.98.34 b/dev-lang/nasm/files/digest-nasm-0.98.34
new file mode 100644
index 000000000000..dcb7ec53f013
--- /dev/null
+++ b/dev-lang/nasm/files/digest-nasm-0.98.34
@@ -0,0 +1 @@
+MD5 11689ffb9b7ab0bb3432e76bfc1d292e nasm-0.98.34.tar.bz2 517229
diff --git a/dev-lang/nasm/files/nasm-0.98.34-remove-doc-target.diff b/dev-lang/nasm/files/nasm-0.98.34-remove-doc-target.diff
new file mode 100644
index 000000000000..4d8c8f4565dc
--- /dev/null
+++ b/dev-lang/nasm/files/nasm-0.98.34-remove-doc-target.diff
@@ -0,0 +1,39 @@
+--- Makefile.in.orig Sun Sep 8 03:43:30 2002
++++ Makefile.in Sun Sep 8 03:46:45 2002
+@@ -32,8 +32,8 @@
+
+ .SUFFIXES: .c .i .s .$(O) .1 .man
+
+-.PHONY: all doc rdf install clean distclean cleaner spotless install_rdf
+-.PHONY: install_doc everything install_everything strip perlreq dist
++.PHONY: all rdf install clean distclean cleaner spotless install_rdf
++.PHONY: everything install_everything strip perlreq dist
+
+ .c.$(O):
+ $(CC) -c $(CFLAGS) -o $@ $<
+@@ -135,7 +135,6 @@
+
+ cleaner: clean
+ rm -f $(PERLREQ) *.man nasm.spec
+- cd doc && $(MAKE) clean
+
+ spotless: distclean cleaner
+
+@@ -148,15 +147,9 @@
+ rdf_install install_rdf:
+ cd rdoff && $(MAKE) install
+
+-doc:
+- cd doc && $(MAKE) all
++everything: all rdf
+
+-doc_install install_doc:
+- cd doc && $(MAKE) install
+-
+-everything: all doc rdf
+-
+-install_everything: everything install install_doc install_rdf
++install_everything: everything install install_rdf
+
+ dist: spotless perlreq
+ autoconf
diff --git a/dev-lang/nasm/nasm-0.98.34.ebuild b/dev-lang/nasm/nasm-0.98.34.ebuild
new file mode 100644
index 000000000000..751a66704c7c
--- /dev/null
+++ b/dev-lang/nasm/nasm-0.98.34.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/nasm/nasm-0.98.34.ebuild,v 1.1 2002/09/08 07:44:26 cardoe Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="groovy little assembler"
+SRC_URI="mirror://sourceforge/nasm/${P}.tar.bz2"
+HOMEPAGE="http://nasm.sourceforge.net/"
+
+DEPEND="build? ( sys-devel/perl )
+ doc? ( app-text/ghostscript sys-apps/texinfo )
+ sys-devel/gcc"
+
+SLOT="0"
+LICENSE="LGPL-2.1"
+KEYWORDS="x86 -ppc -sparc -sparc64"
+
+src_unpack() {
+
+ cd ${WORKDIR}
+ unpack ${A}
+
+ if [ -z "`use doc`" ]; then
+ cd ${S}
+ patch -p0 < ${FILESDIR}/${P}-remove-doc-target.diff
+ fi
+
+}
+
+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 [ -n "`use doc`" ]; then
+ doinfo doc/info/*
+ dohtml doc/html/*
+ dodoc doc/nasmdoc.*
+ fi
+ fi
+
+}