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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Wed Apr 19 15:09:18 2006 UTC (13 years, 10 months ago) by ribosome
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Removed old versions. Added 19.22 to x86. 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 ribosome 1.2 # $Header: /var/cvsroot/gentoo-x86/sci-biology/prosite/prosite-19.19.ebuild,v 1.1 2006/01/28 21:23:34 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 ~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