summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/rebase/ChangeLog7
-rw-r--r--sci-biology/rebase/files/digest-rebase-6073
-rw-r--r--sci-biology/rebase/rebase-607.ebuild43
3 files changed, 52 insertions, 1 deletions
diff --git a/sci-biology/rebase/ChangeLog b/sci-biology/rebase/ChangeLog
index 5ea9610c1f40..3967977e7bb6 100644
--- a/sci-biology/rebase/ChangeLog
+++ b/sci-biology/rebase/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-biology/rebase
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/rebase/ChangeLog,v 1.66 2006/06/26 15:47:49 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/rebase/ChangeLog,v 1.67 2006/07/12 01:22:20 ribosome Exp $
+
+*rebase-607 (12 Jul 2006)
+
+ 12 Jul 2006; Olivier Fisette <ribosome@gentoo.org> +rebase-607.ebuild:
+ New ustream version.
*rebase-606 (26 Jun 2006)
diff --git a/sci-biology/rebase/files/digest-rebase-607 b/sci-biology/rebase/files/digest-rebase-607
new file mode 100644
index 000000000000..8e5d183629dd
--- /dev/null
+++ b/sci-biology/rebase/files/digest-rebase-607
@@ -0,0 +1,3 @@
+MD5 cca19d19fdea3cacf1474c599729ea16 rebase-607.tar.bz2 183819
+RMD160 5c759b198c25e279d628897129e28b32081f9dbd rebase-607.tar.bz2 183819
+SHA256 84f8a44535f566629f2d4ce3af92bb369e51a42550a923e732d1efa54e1f4f67 rebase-607.tar.bz2 183819
diff --git a/sci-biology/rebase/rebase-607.ebuild b/sci-biology/rebase/rebase-607.ebuild
new file mode 100644
index 000000000000..53b6c927178d
--- /dev/null
+++ b/sci-biology/rebase/rebase-607.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/rebase/rebase-607.ebuild,v 1.1 2006/07/12 01:22:20 ribosome Exp $
+
+DESCRIPTION="A restriction enzyme database"
+LICENSE="public-domain"
+HOMEPAGE="http://rebase.neb.com"
+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="~x86 ~ppc ~amd64 ~ppc-macos ~ppc64"
+
+DEPEND="emboss? ( >=sci-biology/emboss-3.0.0-r1 )"
+
+src_compile() {
+ if use emboss; then
+ echo
+ einfo "Indexing ${PN} for usage with EMBOSS."
+ mkdir REBASE
+ EMBOSS_DATA=. rebaseextract -auto -infile withrefm.${PV} \
+ -protofile proto.${PV} || die "Indexing ${PN} failed."
+ echo
+ fi
+}
+
+src_install() {
+ if ! use minimal; then
+ insinto /usr/share/${PN}
+ doins withrefm.${PV} proto.${PV} || die \
+ "Failed to install raw database."
+ fi
+ newdoc REBASE.DOC README || die "Failed to install documentation."
+ if use emboss; then
+ insinto /usr/share/EMBOSS/data/REBASE
+ doins REBASE/{embossre.enz,embossre.ref,embossre.sup} || die \
+ "Failed to install EMBOSS data files."
+ insinto /usr/share/EMBOSS/data
+ doins embossre.equ || die "Failed to install enzyme prototypes file."
+ fi
+}