summaryrefslogtreecommitdiff
blob: c392a6d82d105840a85e31eb40527b49eafedd57 (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
40
41
42
43
44
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-sci/hmmer/hmmer-2.2g.ebuild,v 1.2 2003/07/02 12:33:39 aliz Exp $

DESCRIPTION="HMMER - Biological sequence analysis with profile HMMs"
HOMEPAGE="http://hmmer.wustl.edu/"
SRC_URI="ftp://ftp.genetics.wustl.edu/pub/eddy/hmmer/CURRENT/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""
DEPEND=""

S=${WORKDIR}/${P}

src_unpack(){
	unpack ${A}
	cd ${S}
	epatch ${FILESDIR}/Makefile-${P}.patch
}

src_compile() {

	./configure \
		--host=${CHOST} \
		--prefix=${D}/usr \
		--mandir=${D}/usr/share/man || die "./configure failed"

	emake || die
}

src_install() {

	dodir usr/bin
	dodir usr/share/man/man1
	
	einstall || die
	
	dodoc 00README COPYRIGHT INSTALL LICENSE NOTES Userguide.pdf

	# include the squid docs
	dodoc squid/Docs/*.tex

}