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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Tue Oct 4 00:13:13 2005 UTC (14 years, 4 months ago) by ribosome
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Removing obsolete emboss packages
(Portage version: 2.0.51.22-r2)

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

  ViewVC Help
Powered by ViewVC 1.1.20