aboutsummaryrefslogtreecommitdiff
blob: 5387c41d6749ff1093d990f8eebf66f1c10a95a0 (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

inherit java-pkg-2 versionator

MYPV=$(replace_version_separator 2 '-')

DESCRIPTION="Command line tools to process astronomical tables"
HOMEPAGE="http://www.star.bris.ac.uk/~mbt/stilts/"
SRC_URI="ftp://andromeda.star.bris.ac.uk/pub/star/${PN}/v${MYPV}/${PN}.jar -> ${P}.jar"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""

RDEPEND=">=virtual/jre-1.5"
DEPEND=""

S="${WORKDIR}"

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