summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2002-05-18 19:37:32 +0000
committerDan Armak <danarmak@gentoo.org>2002-05-18 19:37:32 +0000
commit825b14d614dcf358085b6765126b4007317ae3cf (patch)
tree09b78352093e6f6535a8db6bb4d82cd04cc8ae62 /dev-lang/nasm
parentChanged the dependency to =libpng-1.2.1. (diff)
downloadgentoo-2-825b14d614dcf358085b6765126b4007317ae3cf.tar.gz
gentoo-2-825b14d614dcf358085b6765126b4007317ae3cf.tar.bz2
gentoo-2-825b14d614dcf358085b6765126b4007317ae3cf.zip
only create ps pdf etc. docs if USE doc is on. add missing ghostscipt dep in that case. close bug
#2824.
Diffstat (limited to 'dev-lang/nasm')
-rw-r--r--dev-lang/nasm/ChangeLog10
-rw-r--r--dev-lang/nasm/files/digest-nasm-0.98.31-r11
-rw-r--r--dev-lang/nasm/nasm-0.98.31-r1.ebuild58
3 files changed, 67 insertions, 2 deletions
diff --git a/dev-lang/nasm/ChangeLog b/dev-lang/nasm/ChangeLog
index 4444da751078..3488369ee761 100644
--- a/dev-lang/nasm/ChangeLog
+++ b/dev-lang/nasm/ChangeLog
@@ -1,10 +1,16 @@
# 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.4 2002/05/17 14:27:46 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/nasm/ChangeLog,v 1.5 2002/05/18 19:37:32 danarmak Exp $
+
+*nasm-0.98.31-r1 (18 May 2002)
+
+ 18 May 2002; Dan Armak <danarmak@gentoo.org> changelog :
+
+ Only create ps, pdf etc. docs if USE doc is enabled. Closes bug #2824.
*nasm-0.98.31 (17 May 2002)
- 17 May 2002; Dan Armak <danarmak@gentoo.org> nasm-0.98.30.ebuild :
+ 17 May 2002; Dan Armak <danarmak@gentoo.org> changelog :
New upstream version, has some minute fixes. Close #2784.
diff --git a/dev-lang/nasm/files/digest-nasm-0.98.31-r1 b/dev-lang/nasm/files/digest-nasm-0.98.31-r1
new file mode 100644
index 000000000000..ddff4e89d954
--- /dev/null
+++ b/dev-lang/nasm/files/digest-nasm-0.98.31-r1
@@ -0,0 +1 @@
+MD5 29fd6a8fde4fbd8d6dbd57413d0532cb nasm-0.98.31.tar.bz2 474473
diff --git a/dev-lang/nasm/nasm-0.98.31-r1.ebuild b/dev-lang/nasm/nasm-0.98.31-r1.ebuild
new file mode 100644
index 000000000000..35e19d576c54
--- /dev/null
+++ b/dev-lang/nasm/nasm-0.98.31-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Daniel Robbins <drobbins@gentoo.org>
+# /space/gentoo/cvsroot/gentoo-x86/dev-lang/nasm/nasm-0.98.30.ebuild,v 1.1 2002/05/06 08:20:25 kain Exp
+
+S=${WORKDIR}/${P}
+DESCRIPTION="groovy little assembler"
+SRC_URI="http://unc.dl.sourceforge.net/sourceforge/nasm/${P}.tar.bz2
+http://telia.dl.sourceforge.net/sourceforge/nasm/${P}.tar.bz2
+http://belnet.dl.sourceforge.net/sourceforge/nasm/${P}.tar.bz2"
+HOMEPAGE="http://nasm.2y.net/"
+
+DEPEND="virtual/glibc build? ( sys-devel/perl )
+ doc? ( app-text/ghostscript sys-apps/texinfo )
+ sys-devel/gcc"
+RDEPEND="virtual/glibc"
+
+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
+
+}