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

EAPI=5

inherit java-pkg-2 eutils java-ant-2

DESCRIPTION="Perl-based wrapper around java apps to quality control FASTA/FASTQ sequence files"
HOMEPAGE="http://www.bioinformatics.babraham.ac.uk/projects/fastqc/"
SRC_URI="http://www.bioinformatics.babraham.ac.uk/projects/fastqc/fastqc_v"${PV}"_source.zip"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS=""
IUSE=""

DEPEND="sci-biology/picard
	sci-libs/jhdf5
	>=virtual/jre-1.5:*"
RDEPEND="${DEPEND}
	dev-lang/perl
	>=virtual/jdk-1.5:*
	dev-java/ant-core"

S="${WORKDIR}"/FastQC

src_prepare(){
	cp "${FILESDIR}"/build.xml . || die
}

src_compile(){
	ant || die
}

src_install(){
	dobin fastqc run_fastqc.bat
	dodoc README.txt RELEASE_NOTES.txt

	# TODO: need to compile java in uk/ac/babraham/FastQC/
	# and decide whether jbzip2-0.9.jar is a standard java lib or not
	# ignore the sam-1.103.jar and rely on /usr/share/picard/lib/sam.jar from sci-biology/picard
	# cisd-jhdf5.jar should be provided by sci-libs/jhdf5
}