blob: 23c4ba9a322946897c1a34282001bc8e42b95af3 (
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
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="General purpose multiple alignment program for DNA and proteins"
HOMEPAGE="http://www.embl-heidelberg.de/~seqanal/"
SRC_URI="ftp://ftp.ebi.ac.uk/pub/software/unix/clustalw/${PN}${PV}.UNIX.tar.gz"
S="${WORKDIR}/${PN}${PV}"
LICENSE="clustalw"
SLOT="1"
KEYWORDS="amd64 ~ppc ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
PATCHES=(
"${FILESDIR}"/${PV}-as-needed.patch
"${FILESDIR}"/${PV}-clang.patch
)
src_prepare() {
default
sed \
-e "s|clustalw_help|${EPREFIX}/usr/share/doc/${PF}/clustalw_help|" \
-i clustalw.c || die
}
src_configure() {
tc-export CC
}
src_install() {
dobin clustalw
dodoc README clustalv.doc clustalw{.doc,.ms,_help}
}
|