summaryrefslogtreecommitdiff
blob: 802b05b7cfb8d307bbc57c3044afa6d41bfc8165 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_tidy/mod_tidy-0.5.5.ebuild,v 1.1 2007/09/08 18:13:16 hollow Exp $

inherit eutils apache-module

DESCRIPTION="mod_tidy is a TidyLib based DSO module for the Apache 2 to parse, clean-up and pretty-print the webservers' (X)HTML output."
SRC_URI="http://mod-tidy.sourceforge.net/src/${P}.tar.gz"
HOMEPAGE="http://mod-tidy.sourceforge.net/"

SLOT="0"
LICENSE="Apache-2.0"
KEYWORDS="~x86 ~amd64"
IUSE=""

APACHE2_MOD_CONF="55_${PN}"
APACHE2_MOD_DEFINE="TIDY"

DEPEND="app-text/htmltidy"
RDEPEND="${DEPEND}"

need_apache2

DOCFILES="Changes INSTALL LICENSE README"

src_compile() {
	econf --with-apxs=${APXS2} || die "configure failed"
	emake || die "make failed"
}

# vim:ts=4