# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header$ EAPI="5" inherit apache-module perl-module DESCRIPTION="ASP for Apache" SRC_URI="http://cpan.org/modules/by-module/Apache/${P}.tar.gz" HOMEPAGE="http://cpan.org/modules/by-module/Apache/${P}.readme" LICENSE="Artistic" KEYWORDS="~alpha ~amd64 ~ppc ~s390 ~sparc ~x86" SLOT="0" IUSE="cgi dynamic-module-reload formfill http-clean libxslt time-hires xslt" # In terms of speed; libxslt is faster than sablotron, sablotron is faster than xslt. # Since they are alternatives, they can't be installed simultaneously. REQUIRED_USE="?? ( libxslt xslt )" # Some of these dependencies might be automagic and might need to be dealt with. # www.gentoo.org/proj/en/qa/automagic.xml # # Some of these dependencies might be provided by Perl; if so, they need to be removed from this list. DEPEND="dev-perl/MLDBM dev-perl/MLDBM-Sync virtual/perl-Digest-MD5 cgi? ( virtual/perl-CGI ) dynamic-module-reload? ( dev-perl/Devel-Symdump ) formfill? ( dev-perl/HTML-FillInForm ) http-clean? ( dev-perl/HTML-Clean ) libxslt? ( dev-perl/XML-LibXSLT ) time-hires? ( virtual/perl-Time-HiRes ) xslt? ( dev-perl/XML-XSLT )" # Missing optional dependencies, no packages found (sablotron has 1 C++ though): # Apache::Filter --> Full SSI support via Apache::Filter & Apache::SSI # Apache::SSI --> Full SSI support via Apache::Filter & Apache::SSI # XML::Sablotron --> XSLT that is 10 times faster than XML::XSLT # Found optional dependencies, likely from Perl itself: # Compress::Zlib # Net::Config # Net::SMTP RDEPEND="${DEPEND}" APACHE2_MOD_CONF="79_apache_asp.conf" APACHE2_MOD_DEFINE="ASP" need_apache2