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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Aug 31 00:34:19 2005 UTC (14 years, 4 months ago) by ribosome
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
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.4.ebuild,v 1.4 2005/07/09 07:08:24 corsair 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="~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 )"
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