aboutsummaryrefslogtreecommitdiff
blob: 879964bbf7fba30b2a22c6fab85e8dd41a1c7954 (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
29
30
31
32
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit java-pkg-2 java-ant-2

MY_PN="JLigand"

DESCRIPTION="Java interface which allows links descriptions to be created"
HOMEPAGE="http://www.ysbl.york.ac.uk/mxstat/JLigand/"
SRC_URI="http://www.ysbl.york.ac.uk/mxstat/${MY_PN}/${MY_PN}.${PV}.tar.gz"

LICENSE="ccp4"
SLOT="0"
KEYWORDS="~amd64"

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

S="${WORKDIR}/${MY_PN}.${PV}"

src_compile() {
	sed 's:makefile::g' -i Makefile || die
	default
}

src_install() {
	java-pkg_newjar JLigand.jar "${PN}.jar"
	java-pkg_dolauncher JLigand \
		--jar "${PN}.jar"
}