From 35b0a5506c8b6d620ab6e692e480804412d31c41 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Sun, 8 Sep 2002 07:44:26 +0000 Subject: New version 0.98.34 --- dev-lang/nasm/ChangeLog | 7 ++- dev-lang/nasm/files/digest-nasm-0.98.34 | 1 + .../nasm/files/nasm-0.98.34-remove-doc-target.diff | 39 +++++++++++++++ dev-lang/nasm/nasm-0.98.34.ebuild | 58 ++++++++++++++++++++++ 4 files changed, 104 insertions(+), 1 deletion(-) create mode 100644 dev-lang/nasm/files/digest-nasm-0.98.34 create mode 100644 dev-lang/nasm/files/nasm-0.98.34-remove-doc-target.diff create mode 100644 dev-lang/nasm/nasm-0.98.34.ebuild (limited to 'dev-lang') 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 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 + +} -- cgit v1.2.3-65-gdbad