aboutsummaryrefslogtreecommitdiff
blob: 6739c1387b194b41d0e78d0bed6596f630336958 (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
35
36
37
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

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/~pyoung/JLigand/JLigand.html"
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
	>=sci-chemistry/refmac-5.6
	>=sci-libs/monomer-db-5.16"
DEPEND=">=virtual/jdk-1.5"

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

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

src_install() {
	java-pkg_dojar ${PN}.jar
	java-pkg_dolauncher ${PN} \
		--jar ${PN}.jar
}