summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/aaindex/ChangeLog7
-rw-r--r--sci-biology/aaindex/aaindex-9.1.ebuild39
-rw-r--r--sci-biology/aaindex/files/digest-aaindex-9.13
3 files changed, 48 insertions, 1 deletions
diff --git a/sci-biology/aaindex/ChangeLog b/sci-biology/aaindex/ChangeLog
index 921bb9e5c6c2..2c78e171f0bb 100644
--- a/sci-biology/aaindex/ChangeLog
+++ b/sci-biology/aaindex/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-biology/aaindex
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/aaindex/ChangeLog,v 1.17 2006/08/18 02:46:19 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/aaindex/ChangeLog,v 1.18 2006/09/13 14:07:34 ribosome Exp $
+
+*aaindex-9.1 (13 Sep 2006)
+
+ 13 Sep 2006; Olivier Fisette <ribosome@gentoo.org> +aaindex-9.1.ebuild:
+ New upstream version.
18 Aug 2006; Jason Wever <weeve@gentoo.org> aaindex-7.0.ebuild:
Added ~sparc keyword wrt bug #144241.
diff --git a/sci-biology/aaindex/aaindex-9.1.ebuild b/sci-biology/aaindex/aaindex-9.1.ebuild
new file mode 100644
index 000000000000..0e5cc7bf5b65
--- /dev/null
+++ b/sci-biology/aaindex/aaindex-9.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/aaindex/aaindex-9.1.ebuild,v 1.1 2006/09/13 14:07:34 ribosome Exp $
+
+DESCRIPTION="Amino acid indices and similarity matrices"
+LICENSE="public-domain"
+HOMEPAGE="http://www.genome.ad.jp/aaindex"
+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 ~ppc-macos ~ppc64 ~sparc ~x86"
+
+DEPEND="emboss? ( sci-biology/emboss )"
+
+src_compile() {
+ if use emboss; then
+ mkdir AAINDEX
+ echo
+ einfo "Indexing AAindex for usage with EMBOSS."
+ EMBOSS_DATA="." aaindexextract -auto -infile ${PN}1 || die \
+ "Indexing AAindex failed."
+ echo
+ fi
+}
+
+src_install() {
+ if ! use minimal; then
+ insinto /usr/share/${PN}
+ doins ${PN}{1,2,3} || die "Failed to install raw database."
+ fi
+ dodoc ${PN}.doc || die "Failed to install documentation."
+ if use emboss; then
+ insinto /usr/share/EMBOSS/data/AAINDEX
+ doins AAINDEX/* || die "Failed to install EMBOSS data files."
+ fi
+}
diff --git a/sci-biology/aaindex/files/digest-aaindex-9.1 b/sci-biology/aaindex/files/digest-aaindex-9.1
new file mode 100644
index 000000000000..0577048a761a
--- /dev/null
+++ b/sci-biology/aaindex/files/digest-aaindex-9.1
@@ -0,0 +1,3 @@
+MD5 efed99751665ce4f60bcbe890c06520c aaindex-9.1.tar.bz2 133780
+RMD160 6f5bd699de3c84bd366f9747f57712ba8aecf513 aaindex-9.1.tar.bz2 133780
+SHA256 ae2e5aec2fc47835f26c8d8b5776966464bc08a5fca422c130d8312880382caa aaindex-9.1.tar.bz2 133780