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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue Dec 13 23:20:18 2011 UTC (8 years, 1 month ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
Stable for AMD64, wrt bug #392825

(Portage version: 2.1.10.39/cvs/Linux i686)

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.72.ebuild,v 1.4 2011/12/11 09:28:51 phajdan.jr 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 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
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