summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Huneycutt <chadh@gentoo.org>2001-08-18 04:27:00 +0000
committerChad Huneycutt <chadh@gentoo.org>2001-08-18 04:27:00 +0000
commitf5635c0a3a6b4d6ee95118c3bc1e1d8d8e03eb80 (patch)
tree08464dd1de090de42c23ac4a32bab4cee13bcdd8 /dev-lang/nasm
parent*** empty log message *** (diff)
downloadhistorical-f5635c0a3a6b4d6ee95118c3bc1e1d8d8e03eb80.tar.gz
historical-f5635c0a3a6b4d6ee95118c3bc1e1d8d8e03eb80.tar.bz2
historical-f5635c0a3a6b4d6ee95118c3bc1e1d8d8e03eb80.zip
minimal build version if build set.
Diffstat (limited to 'dev-lang/nasm')
-rw-r--r--dev-lang/nasm/nasm-0.98-r3.ebuild52
1 files changed, 31 insertions, 21 deletions
diff --git a/dev-lang/nasm/nasm-0.98-r3.ebuild b/dev-lang/nasm/nasm-0.98-r3.ebuild
index 28b41a1ef7d4..631c9227150b 100644
--- a/dev-lang/nasm/nasm-0.98-r3.ebuild
+++ b/dev-lang/nasm/nasm-0.98-r3.ebuild
@@ -1,7 +1,7 @@
# 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>
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/nasm/nasm-0.98-r3.ebuild,v 1.1 2001/08/18 04:07:29 chadh Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/nasm/nasm-0.98-r3.ebuild,v 1.2 2001/08/18 04:27:00 chadh Exp $
P=nasm-0.98
A=${P}.tar.bz2
@@ -15,32 +15,42 @@ HOMEPAGE="http://nasm.sourceforge.net/"
DEPEND="virtual/glibc sys-apps/texinfo"
RDEPEND="virtual/glibc"
+if [ -z "`use build`" ]; then
+ DEPEND="${DEPEND} sys-devel/perl"
+fi
+
src_compile() {
try ./configure --prefix=/usr
- try make
- cd doc
- try make
+ if [ "`use build`" ]; then
+ make nasm
+ else
+ try make
+ cd doc
+ try make
+ fi
}
src_install() {
-
-
- dobin nasm ndisasm
- dobin rdoff/ldrdf rdoff/rdf2bin rdoff/rdfdump rdoff/rdflib rdoff/rdx
- doman nasm.1 ndisasm.1
- dodoc COPYING Changes Licence MODIFIED Readme Wishlist
- docinto txt
- cd doc
- dodoc nasmdoc.txt
- docinto html
- dodoc html/*.html
- docinto ps
- dodoc nasmdoc.ps
- docinto rtf
- dodoc nasmdoc.rtf
-
- doinfo info/*.info*
+ if [ "`use build`" ]; then
+ dobin nasm
+ else
+ dobin nasm ndisasm
+ dobin rdoff/ldrdf rdoff/rdf2bin rdoff/rdfdump rdoff/rdflib rdoff/rdx
+ doman nasm.1 ndisasm.1
+ dodoc COPYING Changes Licence MODIFIED Readme Wishlist
+ docinto txt
+ cd doc
+ dodoc nasmdoc.txt
+ docinto html
+ dodoc html/*.html
+ docinto ps
+ dodoc nasmdoc.ps
+ docinto rtf
+ dodoc nasmdoc.rtf
+
+ doinfo info/*.info*
+ fi
}