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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Fri Nov 3 02:57:04 2006 UTC (13 years, 3 months ago) by ribosome
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Pruned old versions
(Portage version: 2.1.1-r1)
 (Unsigned Manifest commit)

1 ribosome 1.1 # Copyright 1999-2006 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 ribosome 1.4 # $Header: /var/cvsroot/gentoo-x86/sci-biology/prosite/prosite-19.29.ebuild,v 1.3 2006/11/02 20:49:51 grobian 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 grobian 1.3 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
15 ribosome 1.1
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