summaryrefslogtreecommitdiff
blob: cf845c1fc3f9edd9b77f7509f1e24c4bd92d859c (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Author: Gontran Zepeda <gontran@gontran.net>
# $Header: /var/cvsroot/gentoo-x86/app-sci/clustalw/clustalw-1.83.ebuild,v 1.5 2004/06/24 21:55:43 agriffis Exp $

inherit eutils

DESCRIPTION="Improving the sensitivity of progressive multiple sequence alignment through sequence weighting, position specific gap penalties and weight matrix choice."

# ClustalW is ubiquitous, but this is the contact group.
HOMEPAGE="http://www.embl-heidelberg.de/~seqanal/"

# One source.
SRC_URI="ftp://ftp.ebi.ac.uk/pub/software/unix/clustalw/${PN}${PV}.UNIX.tar.gz"

LICENSE="clustalw"
SLOT="0"
KEYWORDS="x86 sparc ppc alpha"
IUSE=""
DEPEND="virtual/glibc"

S=${WORKDIR}/${PN}${PV}

src_unpack(){
	# let's use gentoo CFLAGS, et al.
	unpack ${A}
	cd ${S}
	epatch ${FILESDIR}/optimize-${PN}${PV}.patch
}
src_compile() {
	# clustalw uses only makefile. cool: stupid emake tricks.
	EXTRA_EMAKE="-e ${CFLAGS}"
	emake || die
}
src_install() {
	# a mano
	dobin clustalw
	dodoc README clustalw.doc clustalw.ms clustalw_help
}