diff options
author | Olivier Fisette <ribosome@gentoo.org> | 2006-06-26 03:24:14 +0000 |
---|---|---|
committer | Olivier Fisette <ribosome@gentoo.org> | 2006-06-26 03:24:14 +0000 |
commit | 60962362f49109ca036963061771b3596578f729 (patch) | |
tree | 05451bfebfbe4ca400f0a6c2f995bc9692316a3f /sci-biology/cutg | |
parent | Added ~x86-fbsd keyword. (diff) | |
download | gentoo-2-60962362f49109ca036963061771b3596578f729.tar.gz gentoo-2-60962362f49109ca036963061771b3596578f729.tar.bz2 gentoo-2-60962362f49109ca036963061771b3596578f729.zip |
New version
(Portage version: 2.1-r1)
Diffstat (limited to 'sci-biology/cutg')
-rw-r--r-- | sci-biology/cutg/ChangeLog | 7 | ||||
-rw-r--r-- | sci-biology/cutg/cutg-151.ebuild | 46 | ||||
-rw-r--r-- | sci-biology/cutg/files/digest-cutg-151 | 3 |
3 files changed, 55 insertions, 1 deletions
diff --git a/sci-biology/cutg/ChangeLog b/sci-biology/cutg/ChangeLog index c951e52f02ff..3c6371e5f4fe 100644 --- a/sci-biology/cutg/ChangeLog +++ b/sci-biology/cutg/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-biology/cutg # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/cutg/ChangeLog,v 1.40 2006/04/08 10:29:16 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/cutg/ChangeLog,v 1.41 2006/06/26 03:24:14 ribosome Exp $ + +*cutg-151 (26 Jun 2006) + + 26 Jun 2006; Olivier Fisette <ribosome@gentoo.org> +cutg-151.ebuild: + New version. 08 Apr 2006; Simon Stelling <blubb@gentoo.org> cutg-150.ebuild: stable on amd64 diff --git a/sci-biology/cutg/cutg-151.ebuild b/sci-biology/cutg/cutg-151.ebuild new file mode 100644 index 000000000000..8a5c22fd0e34 --- /dev/null +++ b/sci-biology/cutg/cutg-151.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/cutg/cutg-151.ebuild,v 1.1 2006/06/26 03:24:14 ribosome Exp $ + +DESCRIPTION="Codon usage tables calculated from GenBank" +LICENSE="public-domain" +HOMEPAGE="http://www.kazusa.or.jp/codon/" +SRC_URI="ftp://ftp.kazusa.or.jp/pub/codon/current/compressed/CUTG.${PV}.tar.gz" + +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 ~x86" + +DEPEND="emboss? ( sci-biology/emboss )" + +S="${WORKDIR}" + +src_compile() { + if use emboss; then + mkdir CODONS + echo + einfo "Indexing CUTG for usage with EMBOSS." + EMBOSS_DATA="." cutgextract -auto -directory "${S}" || die \ + "Indexing CUTG failed." + echo + fi +} + +src_install() { + if ! use minimal; then + mkdir -p "${D}"usr/share/${PN} + mv *.codon *.spsum "${D}"/usr/share/${PN} || die \ + "Installing raw CUTG database failed." + fi + dodoc README + if use emboss; then + mkdir -p "${D}"/usr/share/EMBOSS/data/CODONS + cd CODONS + for file in *; do + mv ${file} "${D}"/usr/share/EMBOSS/data/CODONS || die \ + "Installing the EMBOSS-indexed database failed." + done + fi +} diff --git a/sci-biology/cutg/files/digest-cutg-151 b/sci-biology/cutg/files/digest-cutg-151 new file mode 100644 index 000000000000..500b02ebf419 --- /dev/null +++ b/sci-biology/cutg/files/digest-cutg-151 @@ -0,0 +1,3 @@ +MD5 f71e5ba098a4b6a22171b7b67da18d8e CUTG.151.tar.gz 165813396 +RMD160 77a304321f1535af8bb6eff1ce5c8e559a64535c CUTG.151.tar.gz 165813396 +SHA256 8184ac1a99ba54791d4ca672d514daeafd7e6736e76524fbbd7b3930d7d8534f CUTG.151.tar.gz 165813396 |