summaryrefslogtreecommitdiff
blob: 98c11d523ff219841c3e19bd9b5179820d6c1fd9 (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
# 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.1 2000/08/28 02:36:32 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"


src_compile() {

    cd ${S}
    perl Makefile.PL NO_HTTPD=1 $PERLINSTALL
    make
    cd src/modules/perl
    apxs -c -I /usr/lib/perl5/5.6.0/i686-linux/CORE mod_perl.c
}

src_install () {

    cd ${S}
    make install
    prepman
    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
    

}