summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2005-05-13 01:54:59 +0000
committerOlivier Fisette <ribosome@gentoo.org>2005-05-13 01:54:59 +0000
commit244bff10f40f8cf9c8286ed5080ade71a07dd04a (patch)
treea31e3cfe5df0c237347f26274f61327f8bf2f990 /sci-biology/qrna/qrna-2.0.3b.ebuild
parentmake sure dev-games/guichan is built with USE=sdl #92362 (diff)
downloadgentoo-2-244bff10f40f8cf9c8286ed5080ade71a07dd04a.tar.gz
gentoo-2-244bff10f40f8cf9c8286ed5080ade71a07dd04a.tar.bz2
gentoo-2-244bff10f40f8cf9c8286ed5080ade71a07dd04a.zip
New version
(Portage version: 2.0.51.19)
Diffstat (limited to 'sci-biology/qrna/qrna-2.0.3b.ebuild')
-rw-r--r--sci-biology/qrna/qrna-2.0.3b.ebuild55
1 files changed, 55 insertions, 0 deletions
diff --git a/sci-biology/qrna/qrna-2.0.3b.ebuild b/sci-biology/qrna/qrna-2.0.3b.ebuild
new file mode 100644
index 000000000000..ff596d6b2be7
--- /dev/null
+++ b/sci-biology/qrna/qrna-2.0.3b.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/qrna/qrna-2.0.3b.ebuild,v 1.1 2005/05/13 01:54:59 ribosome Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="Prototype ncRNA genefinder"
+HOMEPAGE="http://www.genetics.wustl.edu/eddy/software/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE=""
+
+DEPEND="dev-lang/perl
+ virtual/libc"
+
+src_compile () {
+ sed -e "s/CC = gcc/CC = $(tc-getCC)/" \
+ -e "s/CFLAGS = -O/CFLAGS = ${CFLAGS}/" \
+ -i src/Makefile squid/Makefile
+ sed -e "s/CC = gcc/CC = $(tc-getCC)/" \
+ -e "s/CFLAGS = -g -O2/CFLAGS = ${CFLAGS}/" \
+ -i squid02/Makefile
+ cd ${S}/squid
+ emake || die
+ cd ${S}/squid02
+ emake || die
+ cd ${S}/src
+ emake || die
+}
+
+src_install () {
+ cd ${S}/src
+ dobin cfgbuild eqrna eqrna_sample main rnamat_main shuffle
+ cd ${S}/squid02
+ dobin afetch alistat compalign compstruct revcomp seqsplit seqstat \
+ sfetch shuffle sindex sreformat translate weight
+ cd ${S}
+ dobin scripts/*
+
+ newdoc 00README
+ insinto /usr/share/doc/${PF}
+ doins documentation/*
+
+ insinto /usr/share/${PN}/data
+ doins lib/*
+ insinto /usr/share/${PN}/demos
+ doins Demos/*
+
+ # Sets the path to the QRNA data files.
+ insinto /etc/env.d
+ doins ${FILESDIR}/26qrna
+}