summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kislyuk <weaver@gentoo.org>2012-02-27 15:55:41 +0000
committerAndrey Kislyuk <weaver@gentoo.org>2012-02-27 15:55:41 +0000
commit14f30498ecaa8482c1767255106d9e8dfb316c80 (patch)
treee8fe4d0bb0248779cf6fc084c6e5f3f5a92ccc14 /sci-biology/GBrowse/GBrowse-2.48.ebuild
parentMarking Mail-DKIM-0.390.0 ppc for bug 400167 (diff)
downloadgentoo-2-14f30498ecaa8482c1767255106d9e8dfb316c80.tar.gz
gentoo-2-14f30498ecaa8482c1767255106d9e8dfb316c80.tar.bz2
gentoo-2-14f30498ecaa8482c1767255106d9e8dfb316c80.zip
Version bump
(Portage version: 2.2.0_alpha74/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology/GBrowse/GBrowse-2.48.ebuild')
-rw-r--r--sci-biology/GBrowse/GBrowse-2.48.ebuild72
1 files changed, 72 insertions, 0 deletions
diff --git a/sci-biology/GBrowse/GBrowse-2.48.ebuild b/sci-biology/GBrowse/GBrowse-2.48.ebuild
new file mode 100644
index 000000000000..765512609e5a
--- /dev/null
+++ b/sci-biology/GBrowse/GBrowse-2.48.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/GBrowse/GBrowse-2.48.ebuild,v 1.1 2012/02/27 15:55:41 weaver Exp $
+
+EAPI=4
+
+MODULE_AUTHOR=LDS
+inherit perl-module webapp
+
+DESCRIPTION="Generic Model Organism Database Project - The Generic Genome Browser"
+HOMEPAGE="http://gmod.org/wiki/GBrowse"
+KEYWORDS="~amd64 ~x86"
+IUSE="-minimal mysql postgres +sqlite"
+
+SLOT="0"
+WEBAPP_MANUAL_SLOT="yes"
+
+CDEPEND="!<sci-biology/GBrowse-2.44-r1
+ >=sci-biology/bioperl-1.6.9
+ >=dev-perl/Bio-Graphics-2.09
+ >=dev-perl/GD-2.07
+ >=dev-perl/CGI-Session-4.02
+ dev-perl/IO-String
+ dev-perl/JSON
+ dev-perl/libwww-perl
+ dev-perl/Statistics-Descriptive
+ !minimal? (
+ dev-perl/Bio-Das
+ >=dev-perl/Bio-SamTools-1.20
+ dev-perl/Crypt-SSLeay
+ dev-perl/DB_File-Lock
+ dev-perl/DBI
+ mysql? ( dev-perl/DBD-mysql )
+ postgres? ( dev-perl/DBD-Pg )
+ sqlite? ( dev-perl/DBD-SQLite )
+ dev-perl/FCGI
+ dev-perl/File-NFSLock
+ dev-perl/GD-SVG
+ dev-perl/Net-OpenID-Consumer
+ dev-perl/Net-SMTP-SSL
+ )"
+# >=dev-perl/Bio-DB-BigFile-1.00 - requires jklib to compile
+DEPEND="virtual/perl-Module-Build
+ dev-perl/Capture-Tiny
+ ${CDEPEND}"
+RDEPEND="${CDEPEND}"
+
+PATCHES=( "${FILESDIR}"/GBrowseInstall.pm-2.39.patch )
+
+src_configure() {
+ webapp_src_preinst
+
+# myconf="--install_base=${D}/usr" or "--install_base=/opt/gbrowse"
+ myconf="--conf=/etc/gbrowse2"
+ myconf="${myconf} --htdocs=${MY_HTDOCSDIR}"
+ myconf="${myconf} --cgibin=${MY_CGIBINDIR}"
+ myconf="${myconf} --tmp=/var/tmp/gbrowse2"
+ myconf="${myconf} --persistent=/var/db/gbrowse2"
+ myconf="${myconf} --databases=/var/db/gbrowse2/databases"
+ myconf="${myconf} --installconf=no"
+ myconf="${myconf} --installetc=no"
+ perl-module_src_configure
+}
+
+src_install() {
+ dodir /var/tmp/gbrowse2
+ dodir /var/db/gbrowse2/sessions
+ dodir /var/db/gbrowse2/userdata
+ webapp_serverowned -R /var/tmp/gbrowse2 /var/db/gbrowse2
+ perl-module_src_install
+ webapp_src_install
+}