blob: 173fc172da18bd9a7fa9c91a650fd6a9ad3e5438 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/readseq/readseq-20080420.ebuild,v 1.4 2013/02/01 14:55:17 jlec Exp $
EAPI=1
inherit java-pkg-2 java-ant-2
MY_P="${PN}-source-${PV}"
DESCRIPTION="Reads and writes nucleic/protein sequences in various formats."
HOMEPAGE="http://iubio.bio.indiana.edu/soft/molbio/readseq/"
# Originally unversioned at
# http://iubio.bio.indiana.edu/soft/molbio/readseq/java/readseq-source.zip.
# Renamed to the date of the modification and mirrored
SRC_URI="http://dev.gentoo.org/~dberkholz/distfiles/${MY_P}.zip"
#SRC_URI="mirror://gentoo/${MY_P}.zip"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
COMMON="
dev-java/jaxp
dev-java/xerces:2"
RDEPEND="${COMMON}
!=sci-biology/meme-4.8.1
>=virtual/jre-1.4"
DEPEND="${COMMON}
>=virtual/jdk-1.4
app-arch/unzip"
S=${WORKDIR}
src_unpack() {
unpack ${A}
cd "${S}"
java-pkg_jar-from xerces-2 xercesImpl.jar lib/ibm-xml4j-min.jar
java-pkg_jar-from jaxp jaxp-ri.jar lib/orgxml.jar
}
src_install() {
java-pkg_dojar build/readseq.jar
java-pkg_dolauncher
}
pkg_postinst() {
elog "Documentation is available at"
elog "http://iubio.bio.indiana.edu/soft/molbio/readseq/java/Readseq2-help.html"
}
|