# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-perl/mod_perl/mod_perl-1.99.08.ebuild,v 1.6 2003/06/24 20:26:08 vapier Exp $ MY_P=${PN}-1.99_08 S=${WORKDIR}/${MY_P} DESCRIPTION="An embedded Perl interpreter for Apache2" HOMEPAGE="http://perl.apache.org/" SRC_URI="http://perl.apache.org/dist/${MY_P}.tar.gz" LICENSE="GPL-2" KEYWORDS="~x86 amd64" IUSE="" SLOT="1" DEPEND="dev-lang/perl =net-www/apache-2*" src_compile() { perl Makefile.PL \ PREFIX=${D}/usr \ MP_TRACE=1 \ MP_DEBUG=1 \ MP_AP_PREFIX=/usr \ MP_USE_DSO=1 \ MP_INST_APACHE2=1 \ MP_APXS=/usr/sbin/apxs2 \ CCFLAGS="${CFLAGS} -fPIC" \ INSTALLDIRS=vendor