aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-biology/fastqc/fastqc-0.11.9.ebuild')
-rw-r--r--sci-biology/fastqc/fastqc-0.11.9.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/sci-biology/fastqc/fastqc-0.11.9.ebuild b/sci-biology/fastqc/fastqc-0.11.9.ebuild
new file mode 100644
index 000000000..be2d3b340
--- /dev/null
+++ b/sci-biology/fastqc/fastqc-0.11.9.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop java-pkg-2 java-ant-2 xdg
+
+DESCRIPTION="Quality control FASTA/FASTQ sequence files"
+HOMEPAGE="https://www.bioinformatics.babraham.ac.uk/projects/fastqc/"
+SRC_URI="https://github.com/s-andrews/FastQC/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/FastQC-${PV}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-lang/perl
+ >=virtual/jre-1.8:*
+"
+DEPEND="
+ dev-lang/perl
+ >=virtual/jdk-1.8:*
+"
+BDEPEND="media-gfx/imagemagick"
+
+EANT_BUILD_TARGET="build"
+
+src_install(){
+ insinto "opt/${PN}"
+ doins -r bin/*
+ chmod a+x "${ED}/opt/${PN}/fastqc"
+ # add convenience symlink
+ dosym ../${PN}/${PN} /opt/bin/${PN}
+
+ convert ${PN}_icon.ico ${PN}.png || die
+ doicon ${PN}.png
+ make_desktop_entry ${PN} FastQC ${PN}
+ einstalldocs
+}