summaryrefslogtreecommitdiff
blob: 487699239ce09521784f9e85cfcb00a0471d7db4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="3"

inherit eutils java-pkg-2 versionator

MY_DATE="Oct2010"
MY_P="$(replace_all_version_separators _)"
DESCRIPTION="MIPS CPU simulator"
HOMEPAGE="http://courses.missouristate.edu/KenVollmar/MARS/"
SRC_URI="http://courses.missouristate.edu/KenVollmar/MARS/MARS_${MY_PV}_${MY_DATE}/Mars_${MY_PV}.jar -> ${P}.jar"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND=">=virtual/jre-1.4"
DEPEND="${RDEPEND}"

RESTRICT="nomirror"

src_install(){
	java-pkg_newjar "${DISTDIR}"/${A} ${PN}.jar
	java-pkg_dolauncher ${PN}
	make_desktop_entry ${PN} MARS
}