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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sat Jan 21 18:06:41 2006 UTC (14 years ago) by ribosome
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Removed obsolete versions
(Portage version: 2.0.53)

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.10.ebuild,v 1.6 2005/11/19 18:23:19 blubb 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="amd64 ppc ppc-macos ppc64 x86"
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