Diff clustalw-1.83-r4 with a clustalw-2.1-r2

/usr/portage/sci-biology/clustalw/clustalw-2.1-r2.ebuild 2023-10-09 14:52:34.996368489 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit toolchain-funcs
7

  
8 6
DESCRIPTION="General purpose multiple alignment program for DNA and proteins"
9
HOMEPAGE="http://www.embl-heidelberg.de/~seqanal/"
10
SRC_URI="ftp://ftp.ebi.ac.uk/pub/software/unix/clustalw/${PN}${PV}.UNIX.tar.gz"
11
S="${WORKDIR}/${PN}${PV}"
12

  
13
LICENSE="clustalw"
14
SLOT="1"
15
KEYWORDS="amd64 ~ppc ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
16

  
17
PATCHES=(
18
	"${FILESDIR}"/${PV}-as-needed.patch
19
	"${FILESDIR}"/${PV}-clang.patch
20
)
21

  
22
src_prepare() {
23
	default
24
	sed \
25
		-e "s|clustalw_help|${EPREFIX}/usr/share/doc/${PF}/clustalw_help|" \
26
		-i clustalw.c || die
27
}
7
HOMEPAGE="http://www.clustal.org/"
8
SRC_URI="http://www.clustal.org/download/current/${P}.tar.gz"
28 9

  
29
src_configure() {
30
	tc-export CC
31
}
10
LICENSE="GPL-3 LGPL-3"
11
SLOT="2"
12
KEYWORDS="amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
32 13

  
33 14
src_install() {
34
	dobin clustalw
35
	dodoc README clustalv.doc clustalw{.doc,.ms,_help}
15
	default
16
	rmdir "${ED}"/usr/share/aclocal || die
36 17
}
Thank you!