diff options
author | 2002-05-07 19:16:22 +0000 | |
---|---|---|
committer | 2002-05-07 19:16:22 +0000 | |
commit | 26bcec647cf8934d3f71ff6b555eb835063b78e5 (patch) | |
tree | 28dcd0478759fbb5993d51c0c7ff53c4e6732801 /dev-perl/mod_perl | |
parent | update to latest (diff) | |
download | historical-26bcec647cf8934d3f71ff6b555eb835063b78e5.tar.gz historical-26bcec647cf8934d3f71ff6b555eb835063b78e5.tar.bz2 historical-26bcec647cf8934d3f71ff6b555eb835063b78e5.zip |
and the files this time. doh!
Diffstat (limited to 'dev-perl/mod_perl')
-rw-r--r-- | dev-perl/mod_perl/files/digest-mod_perl-1.26 | 1 | ||||
-rw-r--r-- | dev-perl/mod_perl/mod_perl-1.26.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-perl/mod_perl/files/digest-mod_perl-1.26 b/dev-perl/mod_perl/files/digest-mod_perl-1.26 new file mode 100644 index 000000000000..af02c5cf5193 --- /dev/null +++ b/dev-perl/mod_perl/files/digest-mod_perl-1.26 @@ -0,0 +1 @@ +MD5 3281fb3dc58c3a272d30f8fc5c492256 mod_perl-1.26.tar.gz 372859 diff --git a/dev-perl/mod_perl/mod_perl-1.26.ebuild b/dev-perl/mod_perl/mod_perl-1.26.ebuild new file mode 100644 index 000000000000..82e167f4ed0f --- /dev/null +++ b/dev-perl/mod_perl/mod_perl-1.26.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/dev-perl/mod_perl/mod_perl-1.26.ebuild,v 1.1 2002/05/07 19:16:22 woodchip Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="A Perl Module for Apache" +SRC_URI="http://perl.apache.org/dist/${P}.tar.gz" +HOMEPAGE="http://perl.apache.org" + +DEPEND="virtual/glibc >=dev-perl/libwww-perl-5.48 >=net-www/apache-1.3.24-r1" + +src_compile() { + perl Makefile.PL USE_APXS=1 \ + WITH_APXS=/usr/sbin/apxs EVERYTHING=1 + + cp Makefile Makefile.orig + sed -e "s:apxs_install doc_install:doc_install:" Makefile.orig > Makefile + emake || die +} + +src_install () { + make \ + PREFIX=${D}/usr \ + INSTALLMAN3DIR=${D}/usr/share/man/man3 \ + install || die + + dodoc Changes CREDITS MANIFEST README SUPPORT ToDo + dohtml -r ./ + + cd apaci + exeinto /usr/lib/apache-extramodules + doexe libperl.so +} + +pkg_postinst() { + einfo + einfo "Execute ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" + einfo "to have your apache.conf auto-updated for use with this module." + einfo "You should then edit your /etc/conf.d/apache file to suit." + einfo +} + +pkg_config() { + ${ROOT}/usr/sbin/apacheaddmod \ + ${ROOT}/etc/apache/conf/apache.conf \ + extramodules/libperl.so mod_perl.c perl_module \ + define=PERL + + :; +} |