forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-lang/mmix: version bump to 20160804
Package-Manager: Portage-2.3.3, Repoman-2.3.1
- Loading branch information
Showing
3 changed files
with
52 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST mmix-20131017.tgz 308016 SHA256 aa64c4b9dc3cf51f07b330791f8ce542b0ae8a1132e098fa95a19b31350050b4 SHA512 e816b1ee9205b9f4a2e25ff183c48736ea66e63721a49f0b574850c5872ae85a6e847d802a01b5aa120ac969638d5d05e9b3135512d9362a4d672564f1228922 WHIRLPOOL e93f29e0a640e219ee2ded0034cbf300e9f6deed2bf9ed04081406cdfaaa952e0b3566525b86e35dfb480288e0ceef1744fefdc533ad0126952603cd698bbb6a | ||
DIST mmix-20160804.tgz 308410 SHA256 fad8e64fddf2d75cbcd5080616b47e11a2d292a428cdb0c12e579be680ecdee9 SHA512 35c518227a4ee40d0aa3be02eda2ab8b2a27696fa789f5007a978419d07b3deebb7f391895e63e3556aeb38dc1ded3bddf2b860125ebf8f7848375e90dc7af75 WHIRLPOOL 177cc9d3b2426a554628b5487fd7ff9b8098a9292c2f2a14087df526b1af22c4388fa0e812486affd4d07f11ce386a9426ab4729f39b3821a97008e46396a5bd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Copyright 1999-2017 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=6 | ||
|
||
inherit eutils toolchain-funcs | ||
|
||
DESCRIPTION="Donald Knuth's MMIX Assembler and Simulator" | ||
HOMEPAGE="http://www-cs-faculty.stanford.edu/~knuth/mmix.html http://mmix.cs.hm.edu" | ||
SRC_URI="http://mmix.cs.hm.edu/src/${P}.tgz" | ||
|
||
RESTRICT="mirror" | ||
|
||
DEPEND="virtual/tex-base | ||
doc? ( dev-texlive/texlive-genericrecommended )" | ||
RDEPEND="" | ||
|
||
SLOT="0" | ||
LICENSE="${PN}" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="doc" | ||
|
||
S="${WORKDIR}" | ||
|
||
PATCHES=( | ||
"${FILESDIR}"/${PN}-20110420-makefile.patch | ||
"${FILESDIR}"/${PN}-20131017-format-security.patch | ||
) | ||
|
||
src_compile() { | ||
emake all \ | ||
CFLAGS="${CFLAGS}" \ | ||
CC="$(tc-getCC)" | ||
|
||
if use doc ; then | ||
emake doc | ||
fi | ||
} | ||
|
||
src_install () { | ||
dobin ${PN} ${PN}al m${PN} mmotype abstime | ||
dodoc README ${PN}.1 | ||
|
||
if use doc ; then | ||
insinto /usr/share/doc/${PF} | ||
doins *.ps | ||
fi | ||
} |