summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2004-12-23 22:23:31 +0000
committerOlivier Fisette <ribosome@gentoo.org>2004-12-23 22:23:31 +0000
commita36c01ad8517cb00ed27ad730593cef530ad45c2 (patch)
treeb8144647d4cf81f764b5fb2137701fd4a13e5869 /sci-biology/generic-genome-browser/generic-genome-browser-1.58.ebuild
parentMoving to sci-biology/generic-genome-browser (diff)
downloadhistorical-a36c01ad8517cb00ed27ad730593cef530ad45c2.tar.gz
historical-a36c01ad8517cb00ed27ad730593cef530ad45c2.tar.bz2
historical-a36c01ad8517cb00ed27ad730593cef530ad45c2.zip
Moved from app-sci/generic-genome-browser to sci-biology/generic-genome-browser.
Diffstat (limited to 'sci-biology/generic-genome-browser/generic-genome-browser-1.58.ebuild')
-rw-r--r--sci-biology/generic-genome-browser/generic-genome-browser-1.58.ebuild82
1 files changed, 82 insertions, 0 deletions
diff --git a/sci-biology/generic-genome-browser/generic-genome-browser-1.58.ebuild b/sci-biology/generic-genome-browser/generic-genome-browser-1.58.ebuild
new file mode 100644
index 000000000000..519d57b4c891
--- /dev/null
+++ b/sci-biology/generic-genome-browser/generic-genome-browser-1.58.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/generic-genome-browser/generic-genome-browser-1.58.ebuild,v 1.1 2004/12/23 22:23:31 ribosome Exp $
+
+inherit perl-module
+
+CATEGORY="app-sci"
+
+MY_PN="Generic-Genome-Browser"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="The generic genome browser provides a display of genomic annotations on interactive web pages"
+HOMEPAGE="http://www.gmod.org"
+SRC_URI="mirror://sourceforge/gmod/${MY_P}.tar.gz"
+
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="mysql gd"
+
+S="${WORKDIR}/${MY_P}"
+
+DEPEND="
+ >=sci-biology/bioperl-1.4
+ >=dev-perl/CGI-2.56
+ >=dev-perl/GD-2.07
+ dev-perl/DBI
+ dev-perl/Digest-MD5
+ dev-perl/Text-Shellwords
+ dev-perl/libwww-perl
+ dev-perl/XML-Parser
+ dev-perl/XML-Writer
+ dev-perl/XML-Twig
+ dev-perl/XML-DOM
+ dev-perl/Bio-Das
+ gd? (
+ dev-perl/GD-SVG
+ )
+ mysql?
+ (
+ >=dev-db/mysql-4
+ dev-perl/DBD-mysql
+ )
+ >=net-www/apache-2.0.47"
+
+RDEPEND="${DEPEND}"
+
+
+src_compile() {
+
+ cd ${S}
+# ewarn "Modifying Makefile.PL to avoid sandbox violation"
+ sed -e "s:WriteMakefile(:WriteMakefile(\n 'PREFIX'=>'${D}/usr',\n'INSTALLDIRS' => 'vendor',:" -i Makefile.PL
+
+ perl Makefile.PL \
+ HTDOCS=/var/www/localhost/htdocs \
+ CGIBIN=/var/www/localhost/cgi-bin \
+ CONF=/etc \
+ PREFIX=/var/www/localhost \
+ DESTDIR=${D} \
+ INSTALLDIRS=vendor
+ #perl-module_src_compile || die "Make failed"
+ perl-module_src_test || die "Test Failed"
+}
+
+src_install() {
+ dodir /etc
+ dodir /var/www/localhost/htdocs
+ dodir /var/www/localhost/cgi-bin
+ mydoc="History README TODO INSTALL"
+ dodir /usr/share/${PF}/tutorial
+ cd ${S}/docs/tutorial
+ tar cf - ./ | ( cd ${D}/usr/share/${PF}/scripts; tar xf -)
+ cd ${S}
+ sed -e "s:my \$dir = \":my \$dir = \"${D}/:" -i install_util/conf_install.PLS
+ sed -e "s:my \$ht_target = \":my \$ht_target = \"${D}/:" -i install_util/htdocs_install.PLS
+ sed -e "s:my \$cgi_target = :my \$cgi_target = \"${D}\"\.:" -i install_util/cgi_install.PLS
+
+ perl-module_src_install
+}
+
+