diff options
Diffstat (limited to 'sci-biology/rebase')
-rw-r--r-- | sci-biology/rebase/ChangeLog | 7 | ||||
-rw-r--r-- | sci-biology/rebase/files/digest-rebase-609 | 3 | ||||
-rw-r--r-- | sci-biology/rebase/rebase-609.ebuild | 42 |
3 files changed, 51 insertions, 1 deletions
diff --git a/sci-biology/rebase/ChangeLog b/sci-biology/rebase/ChangeLog index 69eb8f3d65f8..b6881eb4c37a 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.70 2006/08/19 22:56:30 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/rebase/ChangeLog,v 1.71 2006/09/12 20:24:54 ribosome Exp $ + +*rebase-609 (12 Sep 2006) + + 12 Sep 2006; Olivier Fisette <ribosome@gentoo.org> +rebase-609.ebuild: + New upstream version. 19 Aug 2006; Jason Wever <weeve@gentoo.org> rebase-608.ebuild: Added ~sparc keyword. diff --git a/sci-biology/rebase/files/digest-rebase-609 b/sci-biology/rebase/files/digest-rebase-609 new file mode 100644 index 000000000000..770af9bda96c --- /dev/null +++ b/sci-biology/rebase/files/digest-rebase-609 @@ -0,0 +1,3 @@ +MD5 f79a36d707b213799d8c0172ea0ebc1d rebase-609.tar.bz2 183952 +RMD160 10b256836aabde8b16c46999f26b4b1313410ba8 rebase-609.tar.bz2 183952 +SHA256 a5c9a5314675784c81a0e1a49e252e9ce18927ac4aa97cea5f8b8bc82876d4e2 rebase-609.tar.bz2 183952 diff --git a/sci-biology/rebase/rebase-609.ebuild b/sci-biology/rebase/rebase-609.ebuild new file mode 100644 index 000000000000..50185777031c --- /dev/null +++ b/sci-biology/rebase/rebase-609.ebuild @@ -0,0 +1,42 @@ +# 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-609.ebuild,v 1.1 2006/09/12 20:24:54 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="~amd64 ~ppc ~ppc-macos ~ppc64 ~sparc ~x86" + +DEPEND="emboss? ( >=sci-biology/emboss-3.0.0-r1 )" + +src_compile() { + if use emboss; then + echo; einfo "Indexing Rebase for usage with EMBOSS." + mkdir REBASE + EMBOSS_DATA="." rebaseextract -auto -infile withrefm.${PV} \ + -protofile proto.${PV} || die "Indexing Rebase 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,ref,sup} || die \ + "Failed to install EMBOSS data files." + insinto /usr/share/EMBOSS/data + doins embossre.equ || die "Failed to install enzyme prototypes file." + fi +} |