# Copyright 2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # $Header: $ IUSE="mysql gd" inherit perl-module debug CATEGORY="app-sci" # not actually untarred as bioperl-live S="${WORKDIR}/bioperl-${PV}" DESCRIPTION="The Bioperl Project is a collection of tools for bioinformatics, genomics and life science research." HOMEPAGE="http://www.bioperl.org" SRC_URI="http://bioperl.org/ftp/DIST/bioperl-1.2.tar.gz" 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/Parse-RecDescent 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 )" RDEPEND=${DEPEND} # uncomment this if you'd like to access bioperl docs via man in addition to # perldoc. #src_unpack() { # unpack ${A} # cd ${S} # echo # einfo " Patching to build manified pods..." # echo # patch < ${FILESDIR}/${P}-manpage.diff #} src_compile() { # note: these echo's give 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" # this stable release should test ok perl-module_src_test || die "test failed" } src_install() { mydoc="AUTHORS BUGS FAQ" perl-module_src_install }