summaryrefslogtreecommitdiff
blob: 8abd8de7aa81f1917507ff9aef0b6aaf266dfc5d (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-www/mod_gzip/mod_gzip-1.3.26.1a-r3.ebuild,v 1.7 2007/01/14 16:52:01 chtekk Exp $

inherit eutils apache-module

DESCRIPTION="Apache module which acts as an Internet Content Accelerator."
HOMEPAGE="http://sourceforge.net/projects/mod-gzip/"
SRC_URI="mirror://sourceforge/mod-gzip/${P}.tgz"

KEYWORDS="alpha amd64 ppc sparc x86"
LICENSE="Apache-1.1"
SLOT="0"
IUSE=""

DEPEND=">=sys-libs/zlib-1.1.4"
RDEPEND="${DEPEND}"

APXS1_ARGS="-c mod_gzip.c mod_gzip_debug.c mod_gzip_compress.c"
APACHE1_MOD_CONF="10_${PN}"
APACHE1_MOD_DEFINE="GZIP"

need_apache1

src_unpack() {
	unpack ${A}
	cd "${S}"
	epatch "${FILESDIR}/mod-gzip-debug.patch"
}

src_install() {
	apache1_src_install
	dodoc ChangeLog
	dohtml -r docs/manual/
}