diff options
author | Justin Lecher <jlec@gentoo.org> | 2011-04-25 16:21:30 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2011-04-25 16:21:30 +0000 |
commit | c0e710d2d37c1c652bad7ddf4e4b28d7558a02a1 (patch) | |
tree | 561d835cd146efc0e9b3a4eea0c2fd27d61457b4 /sci-biology/prosite/prosite-20.72.ebuild | |
parent | Stable on amd64 wrt bug #363937 (diff) | |
download | gentoo-2-c0e710d2d37c1c652bad7ddf4e4b28d7558a02a1.tar.gz gentoo-2-c0e710d2d37c1c652bad7ddf4e4b28d7558a02a1.tar.bz2 gentoo-2-c0e710d2d37c1c652bad7ddf4e4b28d7558a02a1.zip |
Version Bump
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology/prosite/prosite-20.72.ebuild')
-rw-r--r-- | sci-biology/prosite/prosite-20.72.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/sci-biology/prosite/prosite-20.72.ebuild b/sci-biology/prosite/prosite-20.72.ebuild new file mode 100644 index 000000000000..4d184d138625 --- /dev/null +++ b/sci-biology/prosite/prosite-20.72.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/prosite/prosite-20.72.ebuild,v 1.1 2011/04/25 16:21:30 jlec Exp $ + +DESCRIPTION="A protein families and domains database" +LICENSE="swiss-prot" +HOMEPAGE="http://ca.expasy.org/prosite" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +SLOT="0" +# Minimal build keeps only the indexed files (if applicable) and the +# documentation. The non-indexed database is not installed. +IUSE="emboss minimal" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" + +DEPEND="emboss? ( sci-biology/emboss )" + +RDEPEND="${DEPEND}" + +src_compile() { + if use emboss; then + mkdir PROSITE + echo + einfo "Indexing PROSITE for usage with EMBOSS." + EMBOSS_DATA="." prosextract -auto -prositedir "${S}" || die \ + "Indexing PROSITE failed." + echo + fi +} + +src_install() { + if ! use minimal; then + insinto /usr/share/${PN} + doins *.{doc,dat} || die "Installing raw database failed." + fi + insinto /usr/share/doc/${PF} + doins *.pdf || die "PDF documentation installation failed." + if use emboss; then + insinto /usr/share/EMBOSS/data/PROSITE + doins PROSITE/* || die "Installing EMBOSS data files failed." + fi +} |