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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Sat Apr 21 03:20:06 2007 UTC (12 years, 10 months ago) by ribosome
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
New upstream version. Pruned old version.
(Portage version: 2.1.2.2)

1 ribosome 1.1 # Copyright 1999-2006 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 ribosome 1.2 # $Header: /var/cvsroot/gentoo-x86/sci-biology/prosite/prosite-20.1.ebuild,v 1.1 2006/12/12 20:11:35 ribosome Exp $
4 ribosome 1.1
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 ~ppc64 ~sparc ~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 *.{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     insinto /usr/share/doc/${PF}
37     doins *.pdf || die "PDF documentation installation failed."
38     if use emboss; then
39     insinto /usr/share/EMBOSS/data/PROSITE
40     doins PROSITE/* || die "Installing EMBOSS data files failed."
41     fi
42     }

  ViewVC Help
Powered by ViewVC 1.1.20