blob: be2d3b3408c009c37b60765d65454a55b3223e91 (
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
|
# 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
}
|