summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-sci')
-rw-r--r--app-sci/cutg/ChangeLog10
-rw-r--r--app-sci/cutg/cutg-141.0.ebuild4
-rw-r--r--app-sci/cutg/cutg-142.ebuild39
-rw-r--r--app-sci/cutg/files/digest-cutg-1421
4 files changed, 51 insertions, 3 deletions
diff --git a/app-sci/cutg/ChangeLog b/app-sci/cutg/ChangeLog
index 06285cd45aa6..a093733b19ad 100644
--- a/app-sci/cutg/ChangeLog
+++ b/app-sci/cutg/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-sci/cutg
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/cutg/ChangeLog,v 1.3 2004/07/09 21:42:18 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/cutg/ChangeLog,v 1.4 2004/08/11 00:03:23 ribosome Exp $
+
+*cutg-142 (10 Aug 2004)
+
+ 10 Aug 2004; Olivier Fisette <ribosome@gentoo.org>
+ cutg-141.0.ebuild:
+ Added to x86.
+ cutg-142.ebuild:
+ Updated package.
26 Jun 2004; David Holm <dholm@gentoo.org> cutg-141.0.ebuild:
Added to ~ppc.
diff --git a/app-sci/cutg/cutg-141.0.ebuild b/app-sci/cutg/cutg-141.0.ebuild
index 4af009836bbd..16e9897e5902 100644
--- a/app-sci/cutg/cutg-141.0.ebuild
+++ b/app-sci/cutg/cutg-141.0.ebuild
@@ -1,13 +1,13 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/cutg/cutg-141.0.ebuild,v 1.3 2004/07/09 21:42:18 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/cutg/cutg-141.0.ebuild,v 1.4 2004/08/11 00:03:23 ribosome Exp $
DESCRIPTION="Codon usage tables calculated from GenBank"
HOMEPAGE="http://www.kazusa.or.jp/codon/"
SRC_URI="ftp://ftp.kazusa.or.jp/pub/codon/current/compressed/CUTG.141.tar.gz"
LICENSE="public-domain"
SLOT="0"
-KEYWORDS="~x86 ~ppc"
+KEYWORDS="x86 ~ppc"
IUSE="no-emboss no-rawdb"
S=${WORKDIR}
diff --git a/app-sci/cutg/cutg-142.ebuild b/app-sci/cutg/cutg-142.ebuild
new file mode 100644
index 000000000000..6cff385aff4c
--- /dev/null
+++ b/app-sci/cutg/cutg-142.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/cutg/cutg-142.ebuild,v 1.1 2004/08/11 00:03:23 ribosome Exp $
+
+DESCRIPTION="Codon usage tables calculated from GenBank"
+HOMEPAGE="http://www.kazusa.or.jp/codon/"
+SRC_URI="ftp://ftp.kazusa.or.jp/pub/codon/current/compressed/CUTG.${PV}.tar.gz"
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="no-emboss no-rawdb"
+
+S=${WORKDIR}
+
+src_compile() {
+ # Index the database for use with emboss if emboss is installed and
+ # the user did not explicitly request not to index the database.
+ if [ -e /usr/bin/cutgextract ] && ! use no-emboss; then
+ mkdir CODONS
+ einfo "Indexing CUTG for usage with EMBOSS."
+ EMBOSS_DATA=. cutgextract -auto -directory ${S} || die \
+ "Indexing CUTG failed."
+ fi
+}
+
+src_install() {
+ if ! use no-rawdb; then
+ insinto /usr/share/${PN}
+ doins *.codon *.spsum
+ fi
+ dodoc README
+ if [ -e /usr/bin/cutgextract ] && ! use no-emboss; then
+ insinto /usr/share/EMBOSS/data/CODONS
+ cd CODONS
+ for file in *; do
+ doins ${file}
+ done
+ fi
+}
diff --git a/app-sci/cutg/files/digest-cutg-142 b/app-sci/cutg/files/digest-cutg-142
new file mode 100644
index 000000000000..fc0adb7d7352
--- /dev/null
+++ b/app-sci/cutg/files/digest-cutg-142
@@ -0,0 +1 @@
+MD5 548fa77024376e43c0642d56834419d9 CUTG.142.tar.gz 109384973