You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
815 B
36 lines
815 B
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
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"
|
|
|
|
LICENSE="clustalw"
|
|
SLOT="1"
|
|
KEYWORDS="amd64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
|
|
IUSE=""
|
|
|
|
S="${WORKDIR}"/${PN}${PV}
|
|
|
|
PATCHES=( "${FILESDIR}"/${PV}-as-needed.patch )
|
|
|
|
src_prepare() {
|
|
default
|
|
|
|
sed \
|
|
-e "/^CC/s:cc:$(tc-getCC):g" \
|
|
-i makefile || die
|
|
sed \
|
|
-e "s%clustalw_help%/usr/share/doc/${PF}/clustalw_help%" \
|
|
-i clustalw.c || die
|
|
}
|
|
|
|
src_install() {
|
|
dobin clustalw
|
|
dodoc README clustalv.doc clustalw{.doc,.ms,_help}
|
|
}
|