diff options
author | 2007-06-25 10:04:32 +0000 | |
---|---|---|
committer | 2007-06-25 10:04:32 +0000 | |
commit | e35951547c36adf51f17808829e3530282eb31a8 (patch) | |
tree | 38e08d1ec5a4c03c568ddbe0b5bcfac753c49a22 /www-apps | |
parent | Version bump (diff) | |
download | gentoo-2-e35951547c36adf51f17808829e3530282eb31a8.tar.gz gentoo-2-e35951547c36adf51f17808829e3530282eb31a8.tar.bz2 gentoo-2-e35951547c36adf51f17808829e3530282eb31a8.zip |
Version bump
(Portage version: 2.1.2.9)
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/Embperl/ChangeLog | 8 | ||||
-rw-r--r-- | www-apps/Embperl/Embperl-2.2.0.ebuild | 74 | ||||
-rw-r--r-- | www-apps/Embperl/files/digest-Embperl-2.2.0 | 3 |
3 files changed, 84 insertions, 1 deletions
diff --git a/www-apps/Embperl/ChangeLog b/www-apps/Embperl/ChangeLog index a324d36032c3..99029a35ebf7 100644 --- a/www-apps/Embperl/ChangeLog +++ b/www-apps/Embperl/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-apps/Embperl # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/Embperl/ChangeLog,v 1.2 2007/02/09 00:06:41 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/Embperl/ChangeLog,v 1.3 2007/06/25 10:04:32 mcummings Exp $ + +*Embperl-2.2.0 (25 Jun 2007) + + 25 Jun 2007; Michael Cummings <mcummings@gentoo.org> + +Embperl-2.2.0.ebuild: + Version bump 20 Jan 2007; Michael Cummings <mcummings@gentoo.org> +files/78_mod_embperl.conf, +files/Embperl-2.0_rc4-Makefile.PL.patch, diff --git a/www-apps/Embperl/Embperl-2.2.0.ebuild b/www-apps/Embperl/Embperl-2.2.0.ebuild new file mode 100644 index 000000000000..24e2fcd87f0d --- /dev/null +++ b/www-apps/Embperl/Embperl-2.2.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/Embperl/Embperl-2.2.0.ebuild,v 1.1 2007/06/25 10:04:32 mcummings Exp $ + +inherit perl-module eutils + +MY_P=${P/_/} +S=${WORKDIR}/${MY_P} +DESCRIPTION="Framework for building websites with Perl." +SRC_URI="mirror://cpan/authors/id/G/GR/GRICHTER/${MY_P}.tar.gz" +HOMEPAGE="http://perl.apache.org/embperl/" + +IUSE="session apache2 modperl xalan" +#xalan session +SLOT="0" +LICENSE="|| ( Artistic GPL-2 )" +#KEYWORDS="~amd64 ~ppc ~x86" +KEYWORDS="~amd64 ~x86" +# tests bork at the moment but it seems to run +#SRC_TEST="do" +PATCHES="${FILESDIR}/Embperl-2.0_rc4-Makefile.PL.patch" + +DEPEND="${DEPEND} + modperl? ( apache2? ( >=www-apache/mod_perl-2.0.1 ) ) + dev-perl/libwww-perl + session? ( >=dev-perl/Apache-Session-1.60 + dev-perl/Apache-SessionX ) + dev-perl/HTML-Parser + virtual/perl-CGI + dev-libs/libxml2 + xalan? ( dev-libs/xalan-c ) + >=dev-libs/libxslt-1.0.4" + + +perl-module_src_prep() { + + perlinfo + + export PERL_MM_USE_DEFAULT=1 + +# if use xalan; then +# XALANPATH="" +# else +# XALANPATH="." +# fi + + SRC_PREP="yes" + einfo "Using ExtUtils::MakeMaker" + XALANPATH="." EPHTTPD="/usr/sbin/apache2" perl Makefile.PL ${myconf} \ + PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D} +} + +src_install () { + # first run the perl install function + perl-module_src_install + + # add a symlink for Embperl.so to make loading it easier + dodir /usr/lib/apache2/modules + dosym ${VENDOR_ARCH}/auto/${PN}/${PN}.so /usr/lib/apache2/modules/mod_embperl.so + insinto /etc/apache2/modules.d + doins ${FILESDIR}/78_mod_embperl.conf + +} + +pkg_postinst() { + einfo + einfo "To enable ${PN}, you need to edit your /etc/conf.d/apache2 file and" + einfo "add '-D EMBPERL' to APACHE2_OPTS." + einfo "Configuration file installed as" + einfo " /etc/apache2/modules.d/78_mod_embperl.conf" + einfo "You may want to edit it before turning the module on in /etc/conf.d/apache2" + einfo + +} diff --git a/www-apps/Embperl/files/digest-Embperl-2.2.0 b/www-apps/Embperl/files/digest-Embperl-2.2.0 new file mode 100644 index 000000000000..149dd49b46d3 --- /dev/null +++ b/www-apps/Embperl/files/digest-Embperl-2.2.0 @@ -0,0 +1,3 @@ +MD5 c1e25850a810b2044fe933e99478c2d9 Embperl-2.2.0.tar.gz 667232 +RMD160 a7534ea2365c86847eb3a1d6c591a52a14cefa09 Embperl-2.2.0.tar.gz 667232 +SHA256 77138fa83370964aef0f1efb98e1de970e0731b75d6a9a438bd6b2fad70ecaa5 Embperl-2.2.0.tar.gz 667232 |