/[gentoo-x86]/dev-lang/mmix/mmix-20110605.ebuild
Gentoo

Contents of /dev-lang/mmix/mmix-20110605.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Mar 10 17:09:35 2012 UTC (2 years, 4 months ago) by ranger
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Marking mmix-20110605 ppc for bug 400003

(Portage version: 2.1.10.11/cvs/Linux ppc64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-lang/mmix/mmix-20110605.ebuild,v 1.2 2012/02/16 18:48:12 phajdan.jr Exp $
4
5 EAPI="2"
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="Donald Knuth's MMIX Assembler and Simulator."
10 HOMEPAGE="http://www-cs-faculty.stanford.edu/~knuth/mmix.html"
11 SRC_URI="http://www-cs-faculty.stanford.edu/~knuth/programs/${P}.tar.gz"
12
13 DEPEND="|| ( >=dev-util/cweb-3.63 virtual/tex-base )"
14 RDEPEND=""
15
16 SLOT="0"
17 LICENSE="mmix"
18 KEYWORDS="~amd64 ppc x86"
19 IUSE="doc"
20
21 S="${WORKDIR}"
22
23 src_prepare() {
24 epatch "${FILESDIR}"/${PN}-20110420-makefile.patch
25 }
26
27 src_compile() {
28 emake all \
29 CFLAGS="${CFLAGS}" \
30 CC=$(tc-getCC) \
31 || die
32 if use doc ; then
33 emake doc || die
34 fi
35 }
36
37 src_install () {
38 dobin mmix mmixal mmmix mmotype abstime || die
39 dodoc README mmix.1 || die
40 if use doc ; then
41 insinto /usr/share/doc/${PF}
42 doins *.ps || die
43 fi
44 }

  ViewVC Help
Powered by ViewVC 1.1.20