# Copyright 2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # $Header $ # Author: Gontran Zepeda IUSE="mysql gd" ECVS_SERVER="cvs.bioperl.org:/home/repository/bioperl" ECVS_ANON="yes" ECVS_USER="cvs" ECVS_PASS="cvs" ECVS_MODULE="bioperl-live" # if you're interested in the other bioperl modules (there are many) see, # http://cvs.open-bio.org/cgi-bin/viewcvs/viewcvs.cgi for the list and simply # copy this ebuild, rename and change the ECVS_MODULE and well, the whole rest # of it too, to taste. :) inherit cvs perl-module #inherit debug CATEGORY="dev-perl" S="${WORKDIR}/${ECVS_MODULE}" DESCRIPTION="The Bioperl Project is a collection of tools for bioinformatics, genomics and life science research." HOMEPAGE="http://www.bioperl.org" SRC_URI="" SLOT="0" KEYWORDS="~x86 ~ppc ~sparc ~sparc64 ~alpha" LICENSE="Artistic | GPL-2" DEPEND="${DEPEND} dev-perl/File-Temp dev-perl/Graph dev-perl/HTML-Parser dev-perl/IO-String dev-perl/IO-stringy dev-perl/SOAP-Lite dev-perl/Storable dev-perl/XML-DOM dev-perl/XML-Parser dev-perl/XML-Writer dev-perl/XML-Twig dev-perl/libxml-perl dev-perl/libwww-perl dev-perl/Text-Shellwords gd? ( >=dev-perl/GD-1.32-r1 ) mysql? ( >=dev-perl/DBD-mysql-2.1004-r3 )" src_compile() { # there's a test to run for BioGFFDB if using mysql # note: these echo's are the default values for testing. use mysql && ( echo y echo test echo localhost echo undef echo undef ) | perl-module_src_compile || perl-module_src_compile || die "compile failed" # Sadly, it's not advisable to run make test for this installation, as the # tests are used by the bioperl developers as a sort of todo list. :) IOW, # it's OK if some fail. #perl-module_src_test || die "test failed" } src_install() { mydoc="AUTHORS BUGS FAQ" perl-module_src_install }