blob: e6ebcc8bec305cb00aab4c0f5b3eb663ed2b3a07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Copyright 1999-2000 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.24.ebuild,v 1.4 2000/11/04 12:54:30 achim Exp $
P=mod_perl-1.24
A=${P}.tar.gz
S=${WORKDIR}/${P}
CATEGORY="dev-perl"
DESCRIPTION="A Perl Modul for Apache"
SRC_URI="http://perl.apache.org/dist/${A}"
HOMEPAGE="http://perl.apache.org"
DEPEND=">=sys-libs/glibc-2.1.3
>=dev-perl/libwww-perl-5.48
>=dev-perl/HTML-Parser-3.13
>=dev-perl/URI-1.09
>=net-www/apache-ssl-1.3"
src_compile() {
cd ${S}
perl Makefile.PL NO_HTTPD=1
try make
cd src/modules/perl
apxs -c -I /usr/lib/perl5/5.6.0/i686-linux-thread-multi/CORE mod_perl.c
}
src_install () {
cd ${S}
try make PREFIX=${D}/usr install
cd src/modules/perl
insinto /usr/lib/apache
doins mod_perl.so
cd ${S}
dodoc Changes CREDITS MANIFEST README SUPPORT ToDo
dodoc faq/*.txt
docinto html
dodoc apache-modlist.html
dodoc htdocs/manual/mod/mod_perl.html
}
|