summaryrefslogtreecommitdiff
blob: 6e20df0b26e89707378ed0150a5087a19a39be9e (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/libapreq/libapreq-1.0-r3.ebuild,v 1.3 2003/02/13 11:27:04 vapier Exp $

inherit perl-post

S=${WORKDIR}/${P}
DESCRIPTION="A Apache Request Perl Module"
SRC_URI="http://cpan.valueclick.com/modules/by-category/15_World_Wide_Web_HTML_HTTP_CGI/Apache/${P}.tar.gz"
HOMEPAGE="http://cpan.valueclick.com/modules/by-category/15_World_Wide_Web_HTML_HTTP_CGI/Apache/${P}.readme"

SLOT="0"
LICENSE="Apache-1.1 as-is"
KEYWORDS="~x86 ~ppc ~sparc ~alpha"

DEPEND="${DEPEND}
	<dev-perl/mod_perl-1.99"

mydoc="TODO"

src_compile() {
        perl Makefile.PL PREFIX=${D}/usr || die
		cp Cookie/Makefile Cookie/Makefile.bak
		cp Request/Makefile Request/Makefile.bak
		sed -e "s|LD_RUN_PATH = /var/tmp/portage/libapreq-1.0-r3/work/libapreq-1.0/Cookie/|LD_RUN_PATH = |" Cookie/Makefile.bak > Cookie/Makefile


		sed -e "s|LD_RUN_PATH = /var/tmp/portage/libapreq-1.0-r3/work/libapreq-1.0/Request/|LD_RUN_PATH = |" Request/Makefile.bak > Request/Makefile
	make
}

src_install() {
	make install

}