summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-04-16 02:32:26 +0000
committerMike Frysinger <vapier@gentoo.org>2004-04-16 02:32:26 +0000
commit9db4a4eaf77dff59d8175e7c9e16fb6ccb260e77 (patch)
tree81238fa5a0387a31287aff8608634f53e2b061d8 /dev-lang/nasm
parentadd inherit eutils (diff)
downloadgentoo-2-9db4a4eaf77dff59d8175e7c9e16fb6ccb260e77.tar.gz
gentoo-2-9db4a4eaf77dff59d8175e7c9e16fb6ccb260e77.tar.bz2
gentoo-2-9db4a4eaf77dff59d8175e7c9e16fb6ccb260e77.zip
add inherit eutils
Diffstat (limited to 'dev-lang/nasm')
-rw-r--r--dev-lang/nasm/nasm-0.98.36.ebuild20
1 files changed, 11 insertions, 9 deletions
diff --git a/dev-lang/nasm/nasm-0.98.36.ebuild b/dev-lang/nasm/nasm-0.98.36.ebuild
index f2510f46454d..387bcbd8ecb1 100644
--- a/dev-lang/nasm/nasm-0.98.36.ebuild
+++ b/dev-lang/nasm/nasm-0.98.36.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 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.36.ebuild,v 1.6 2003/12/09 18:05:14 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/nasm/nasm-0.98.36.ebuild,v 1.7 2004/04/16 02:29:47 vapier Exp $
+
+inherit etuils
DESCRIPTION="groovy little assembler"
HOMEPAGE="http://nasm.sourceforge.net/"
@@ -17,15 +19,15 @@ DEPEND="!build? ( dev-lang/perl )
src_unpack() {
unpack ${A}
-
- [ -z "`use doc`" ] && cd ${S} && epatch ${FILESDIR}/${P}-remove-doc-target.diff
+ cd ${S}
+ use doc || epatch ${FILESDIR}/${P}-remove-doc-target.diff
}
src_compile() {
./configure --prefix=/usr || die
- if [ `use build` ] ; then
- make nasm
+ if use build ; then
+ make nasm || die
else
make everything || die
fi
@@ -33,14 +35,14 @@ src_compile() {
}
src_install() {
- if [ `use build` ] ; then
+ 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
+ dodoc AUTHORS CHANGES ChangeLog INSTALL README TODO
+ if use doc ; then
doinfo doc/info/*
dohtml doc/html/*
dodoc doc/nasmdoc.*