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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Sep 19 01:41:05 2005 UTC (14 years, 4 months ago) by ribosome
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
New version. Removed obsolete versions.
(Portage version: 2.0.51.22-r2)

1 # Copyright 1999-2005 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.7.ebuild,v 1.3 2005/08/07 19:58:32 ribosome Exp $
4
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 KEYWORDS="~x86 ~ppc ~ppc-macos ~ppc64"
11 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-3.0.0 )"
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 -prositedir ${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