diff options
author | Stephen Diener <sediener@gentoo.org> | 2004-01-13 05:56:39 +0000 |
---|---|---|
committer | Stephen Diener <sediener@gentoo.org> | 2004-01-13 05:56:39 +0000 |
commit | e5f9b2caa711d47f2b4e0948b6e0508e281fbf7c (patch) | |
tree | 01ae5cd2d3c18e03dca90fe49b32bee0d6206421 /app-sci | |
parent | New Package (diff) | |
download | gentoo-2-e5f9b2caa711d47f2b4e0948b6e0508e281fbf7c.tar.gz gentoo-2-e5f9b2caa711d47f2b4e0948b6e0508e281fbf7c.tar.bz2 gentoo-2-e5f9b2caa711d47f2b4e0948b6e0508e281fbf7c.zip |
New Package
Diffstat (limited to 'app-sci')
5 files changed, 102 insertions, 1 deletions
diff --git a/app-sci/generic-genome-browser/ChangeLog b/app-sci/generic-genome-browser/ChangeLog new file mode 100644 index 000000000000..effd26d9f4a0 --- /dev/null +++ b/app-sci/generic-genome-browser/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-sci/generic-genome-browser +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-sci/generic-genome-browser/ChangeLog,v 1.1 2004/01/13 05:56:21 sediener Exp $ + +*generic-genome-browser-1.58 (13 Jan 2004) + + 13 Jan 2004; Stephen Diener <sediener@gentoo.org> + generic-genome-browser-1.58.ebuild: + Initial import + diff --git a/app-sci/generic-genome-browser/Manifest b/app-sci/generic-genome-browser/Manifest index cf18151705b6..0b16656c6936 100644 --- a/app-sci/generic-genome-browser/Manifest +++ b/app-sci/generic-genome-browser/Manifest @@ -1,2 +1,4 @@ -MD5 ca2cfef2a4029a3a8fee21095d9f25f2 generic-genome-browser-1.58.ebuild 1483 +MD5 eda9b0b09e5eb17b3468032f6330f4f8 generic-genome-browser-1.58.ebuild 2046 +MD5 4a93d2345e97c98ba98e42c9656121b7 ChangeLog 396 +MD5 e8b4df3df76800c376905734d8043cfa metadata.xml 216 MD5 a46a3f4a12816bb198f2f532a605ba11 files/digest-generic-genome-browser-1.58 80 diff --git a/app-sci/generic-genome-browser/files/digest-generic-genome-browser-1.58 b/app-sci/generic-genome-browser/files/digest-generic-genome-browser-1.58 new file mode 100644 index 000000000000..7226614fcc54 --- /dev/null +++ b/app-sci/generic-genome-browser/files/digest-generic-genome-browser-1.58 @@ -0,0 +1 @@ +MD5 582a53ef6906eea02ecdd7fa3065928e Generic-Genome-Browser-1.58.tar.gz 1207583 diff --git a/app-sci/generic-genome-browser/generic-genome-browser-1.58.ebuild b/app-sci/generic-genome-browser/generic-genome-browser-1.58.ebuild new file mode 100644 index 000000000000..07028e45164b --- /dev/null +++ b/app-sci/generic-genome-browser/generic-genome-browser-1.58.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-sci/generic-genome-browser/generic-genome-browser-1.58.ebuild,v 1.1 2004/01/13 05:56:21 sediener 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" +IUSE="mysql gd" + +S="${WORKDIR}/${MY_P}" + +DEPEND=" + >=app-sci/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 +} + + diff --git a/app-sci/generic-genome-browser/metadata.xml b/app-sci/generic-genome-browser/metadata.xml new file mode 100644 index 000000000000..8a4bcd47220d --- /dev/null +++ b/app-sci/generic-genome-browser/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<maintainer><email>sediener@gentoo.org</email></maintainer> +</pkgmetadata> |