/[gentoo-x86]/dev-lang/nasm/nasm-2.09.10.ebuild
Gentoo

Contents of /dev-lang/nasm/nasm-2.09.10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat Oct 8 16:33:33 2011 UTC (20 months, 1 week ago) by phajdan.jr
Branch: MAIN
Changes since 1.3: +2 -2 lines
x86 stable wrt bug #385901

(Portage version: 2.1.10.11/cvs/Linux i686)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-lang/nasm/nasm-2.09.10.ebuild,v 1.3 2011/10/06 21:08:17 mr_bones_ Exp $
4
5 EAPI=2
6 inherit flag-o-matic
7
8 DESCRIPTION="groovy little assembler"
9 HOMEPAGE="http://nasm.sourceforge.net/"
10 SRC_URI="http://www.nasm.us/pub/nasm/releasebuilds/${PV/_}/${P/_}.tar.bz2"
11
12 LICENSE="BSD-2"
13 SLOT="0"
14 KEYWORDS="-* amd64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos"
15 IUSE="doc"
16
17 DEPEND="dev-lang/perl
18 doc? ( app-text/ghostscript-gpl sys-apps/texinfo )"
19 RDEPEND=""
20
21 S=${WORKDIR}/${P/_}
22
23 src_configure() {
24 strip-flags
25 econf
26 }
27
28 src_compile() {
29 emake nasmlib.o || die
30 emake all || die
31 if use doc ; then
32 emake doc || die
33 fi
34 }
35
36 src_install() {
37 emake INSTALLROOT="${D}" install install_rdf || die
38 dodoc AUTHORS CHANGES ChangeLog README TODO
39 if use doc ; then
40 doinfo doc/info/*
41 dohtml doc/html/*
42 dodoc doc/nasmdoc.*
43 fi
44 }

  ViewVC Help
Powered by ViewVC 1.1.20