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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Tue Aug 9 15:36:16 2011 UTC (8 years, 5 months ago) by xarthisius
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +2 -2 lines
ppc64 keyword dropped (fallout after sci-biology/emboss)

(Portage version: 2.2.0_alpha46/cvs/Linux x86_64)

1 # Copyright 1999-2011 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.36.ebuild,v 1.9 2011/03/09 18:53:57 armin76 Exp $
4
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 x86"
15
16 DEPEND="emboss? ( sci-biology/emboss )"
17
18 RDEPEND="${DEPEND}"
19
20 src_compile() {
21 if use emboss; then
22 mkdir PROSITE
23 echo
24 einfo "Indexing PROSITE for usage with EMBOSS."
25 EMBOSS_DATA="." prosextract -auto -prositedir "${S}" || die \
26 "Indexing PROSITE failed."
27 echo
28 fi
29 }
30
31 src_install() {
32 if ! use minimal; then
33 insinto /usr/share/${PN}
34 doins ${PN}.{doc,dat,lis} || die "Installing raw database failed."
35 fi
36 dodoc *.txt || die "Documentation installation failed."
37 dohtml *.htm || die "HTML documentation installation failed."
38 if use emboss; then
39 insinto /usr/share/EMBOSS/data/PROSITE
40 doins PROSITE/* || die "Installing EMBOSS data files failed."
41 fi
42 }

  ViewVC Help
Powered by ViewVC 1.1.20