/[gentoo-x86]/sci-biology/prosite/prosite-19.20.ebuild
Gentoo

Contents of /sci-biology/prosite/prosite-19.20.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Mon Feb 13 18:19:08 2006 UTC (14 years ago) by ribosome
Branch: MAIN
New version
(Portage version: 2.0.54)

1 ribosome 1.1 # Copyright 1999-2006 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/sci-biology/prosite/prosite-19.18.ebuild,v 1.1 2006/01/12 16:17:26 ribosome Exp $
4    
5     DESCRIPTION="A protein families and domains database"
6     LICENSE="swiss-prot"
7     HOMEPAGE="http://ca.expasy.org/prosite"
8     SRC_URI="mirror://gentoo/${P}.tar.bz2"
9    
10     SLOT="0"
11     # Minimal build keeps only the indexed files (if applicable) and the
12     # documentation. The non-indexed database is not installed.
13     IUSE="emboss minimal"
14     KEYWORDS="~amd64 ~ppc ~ppc-macos ~ppc64 ~x86"
15    
16     DEPEND="emboss? ( >=sci-biology/emboss-3.0.0 )"
17    
18     src_compile() {
19     if use emboss; then
20     mkdir PROSITE
21     echo
22     einfo "Indexing PROSITE for usage with EMBOSS."
23     EMBOSS_DATA="." prosextract -auto -prositedir "${S}" || die \
24     "Indexing PROSITE failed."
25     echo
26     fi
27     }
28    
29     src_install() {
30     if ! use minimal; then
31     insinto /usr/share/${PN}
32     doins ${PN}.{doc,dat,lis} || die "Installing raw database failed."
33     fi
34     dodoc *.txt || die "Documentation installation failed."
35     dohtml *.htm || die "HTML documentation installation failed."
36     if use emboss; then
37     insinto /usr/share/EMBOSS/data/PROSITE
38     doins PROSITE/* || die "Installing EMBOSS data files failed."
39     fi
40     }

  ViewVC Help
Powered by ViewVC 1.1.20