summaryrefslogtreecommitdiff
blob: aaf0e93622766c51f52996de6048d8e30af28076 (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
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-www/mod_loopback/mod_loopback-2.01.ebuild,v 1.2 2004/04/26 16:25:50 zul Exp $

DESCRIPTION="A web client debugging tool (DSO) for Apache2"
HOMEPAGE="http://www.snert.com/Software/mod_loopback/index.shtml"

SRC_URI="http://www.snert.com/Software/download/${PN}201.tgz"
DEPEND="=net-www/apache-2*"
LICENSE="as-is"
KEYWORDS="~x86"
IUSE=""
SLOT="0"

S="${WORKDIR}/${PN}-2.1"

src_compile() {
	apxs2 -c mod_loopback.c || die
}

src_install() {
	exeinto /usr/lib/apache2-extramodules
	doexe .libs/${PN}.so
	insinto /etc/apache2/conf/modules.d
	doins ${FILESDIR}/28_mod_loopback.conf
	dodoc ${FILESDIR}/28_mod_loopback.conf CHANGES.TXT LICENSE.TXT
}