diff options
-rw-r--r-- | sci-biology/rebase/Manifest | 1 | ||||
-rw-r--r-- | sci-biology/rebase/rebase-1509.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/sci-biology/rebase/Manifest b/sci-biology/rebase/Manifest index 632fbeb3bc72..9e63de12b5a1 100644 --- a/sci-biology/rebase/Manifest +++ b/sci-biology/rebase/Manifest @@ -1,2 +1,3 @@ DIST rebase-1507.tar.xz 68538212 SHA256 87880a3f8cd49f537abf0a3d3fe00dca928ab5299cfd436351a279051f358efe SHA512 9fcb61d0f53f227485ecdaa86709b3fb7c20d8a430c456d2c24f68154691028709358d8dc25d4be2662d368e3cdd13d15eb316342dfb0f1aa8447b3742b80375 WHIRLPOOL f8cfc127890e17529d557f69c20be7ad90cd9e01ff9e112d41bb8c88359f7310744977253e8f82c71301ef1ea449f2e4cee9189e3b552edc242ab1033dca0b5e DIST rebase-1508.tar.xz 69944352 SHA256 579ef686b0efea32d88633f85411da9c1396572eec0d20bd163ca7bf615c7b04 SHA512 d5dc9eb704ce28ab7951ab2a8781de76dcbd7a4b6d6c6634abcd36766c8dce77b6d8a712789fe6293a6ddc66cd9103e17121b0ff52f0d3fbabfc5bf47c2f2100 WHIRLPOOL f082a3096cef636a61a176d3d3fe5b993bc83e3b332d134ebc20201d21f2f66e3400ffc5d561018c63fb3201c5fc0862126a32c17c5c96f118859b62a618d341 +DIST rebase-1509.tar.xz 81228428 SHA256 ffad3955197850b4383bf7b96278af357cb99bec129e7a00d7d601e76868870b SHA512 2d9f90c24ab977b29a1e1e790966f48274691375ab5f4b7a4f37c1e62dc8bd4d0b4409475e9b97bb63e3f481066f8407efc4d1314ee24c836f60b53d736d77ed WHIRLPOOL ab86576f037d142a285f3830f88e5b750a52f79c90f35bd117695a5de125c753747329522b1f514c503ff7e28e8aaaa2298bff3379f134db06fc270ec7364a52 diff --git a/sci-biology/rebase/rebase-1509.ebuild b/sci-biology/rebase/rebase-1509.ebuild new file mode 100644 index 000000000000..1bfa8ba6880d --- /dev/null +++ b/sci-biology/rebase/rebase-1509.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +MY_PV=${PV#1} + +DESCRIPTION="A restriction enzyme database" +HOMEPAGE="http://rebase.neb.com" +SRC_URI="https://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz" + +SLOT="0" +LICENSE="public-domain" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" +IUSE="emboss minimal" + +RDEPEND="emboss? ( >=sci-biology/emboss-5.0.0 )" +DEPEND="${RDEPEND}" + +RESTRICT="binchecks strip" + +src_compile() { + if use emboss; then + echo; einfo "Indexing Rebase for usage with EMBOSS." + mkdir REBASE || die + EMBOSS_DATA="." rebaseextract -auto -infile withrefm.${MY_PV} \ + -protofile proto.${MY_PV} -equivalences \ + || die "Indexing Rebase failed." + echo + fi +} + +src_install() { + if ! use minimal; then + insinto /usr/share/${PN} + doins withrefm.${MY_PV} proto.${MY_PV} + fi + newdoc REBASE.DOC README + if use emboss; then + insinto /usr/share/EMBOSS/data/REBASE + doins REBASE/embossre.{enz,ref,sup} + insinto /usr/share/EMBOSS/data + doins REBASE/embossre.equ + fi +} |