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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon Dec 5 17:56:42 2011 UTC (8 years, 1 month ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -3 lines
Resorted upper ebuild section

(Portage version: 2.2.0_alpha79/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-20.36.ebuild,v 1.4 2011/08/09 15:36:16 xarthisius 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
9 SLOT="0"
10 LICENSE="swiss-prot"
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 RDEPEND="${DEPEND}"
18
19 src_compile() {
20 if use emboss; then
21 mkdir PROSITE
22 echo
23 einfo "Indexing PROSITE for usage with EMBOSS."
24 EMBOSS_DATA="." prosextract -auto -prositedir "${S}" || die \
25 "Indexing PROSITE failed."
26 echo
27 fi
28 }
29
30 src_install() {
31 if ! use minimal; then
32 insinto /usr/share/${PN}
33 doins *.{doc,dat} || die "Installing raw database failed."
34 fi
35 insinto /usr/share/doc/${PF}
36 doins *.pdf || die "PDF documentation installation failed."
37 if use emboss; then
38 insinto /usr/share/EMBOSS/data/PROSITE
39 doins PROSITE/* || die "Installing EMBOSS data files failed."
40 fi
41 }

  ViewVC Help
Powered by ViewVC 1.1.20