diff options
-rw-r--r-- | sci-biology/prosite/ChangeLog | 7 | ||||
-rw-r--r-- | sci-biology/prosite/prosite-20.72.ebuild | 42 |
2 files changed, 48 insertions, 1 deletions
diff --git a/sci-biology/prosite/ChangeLog b/sci-biology/prosite/ChangeLog index ce763b94eb8b..18b57808231c 100644 --- a/sci-biology/prosite/ChangeLog +++ b/sci-biology/prosite/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-biology/prosite # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/prosite/ChangeLog,v 1.107 2011/03/09 18:53:57 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/prosite/ChangeLog,v 1.108 2011/04/25 16:21:30 jlec Exp $ + +*prosite-20.72 (25 Apr 2011) + + 25 Apr 2011; Justin Lecher <jlec@gentoo.org> +prosite-20.72.ebuild: + Version Bump 09 Mar 2011; Raúl Porcel <armin76@gentoo.org> prosite-19.36.ebuild, prosite-20.36.ebuild, prosite-20.52.ebuild: 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 +} |