aboutsummaryrefslogtreecommitdiff
blob: 5d25e5bce8f3470697434392c165314535455f24 (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
33
34
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit java-pkg-2 java-ant-2 multilib

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=""
IUSE=""

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_dojar ${PN}.jar
	java-pkg_dolauncher ${PN} \
		--jar ${PN}.jar
}