blob: 508ca4c364afecac790c80d4bca2156f38dcbae4 (
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
|
# Copyright 2019-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Codon usage bias (composition) and its statistical significance"
HOMEPAGE="https://bigd.big.ac.cn/tools/cat"
SRC_URI="ftp://download.big.ac.cn/bigd/tools/${PN}${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
PATCHES=( "${FILESDIR}"/CAT-1.3_respect_env_variables.patch )
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
S="${WORKDIR}/${PN}${PV}"
src_compile(){
cd src || die
emake
}
src_install(){
dodoc README.TXT
newdoc doc/CAT-DOC.pdf "${PN}".pdf
cd src || die
dobin CAT
}
|