summaryrefslogtreecommitdiff
blob: 78c0df4bc605c4528e9d8ce6279f940b5045c7d0 (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-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-www/mod_transform/mod_transform-0.6.0.ebuild,v 1.7 2006/06/04 18:50:26 vericgar Exp $

inherit eutils apache-module

DESCRIPTION="Filter module that allows Apache 2.0 to do dynamic XSL Transformations"
HOMEPAGE="http://www.outoforder.cc/projects/apache/mod_transform/"
SRC_URI="http://www.outoforder.cc/downloads/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""

DEPEND=">=dev-libs/libxslt-1.1.5
	>=dev-libs/libxml2-2.6.11"
RDEPEND="${DEPEND}"

APACHE2_MOD_CONF="10_${PN}"
APACHE2_MOD_DEFINE="TRANSFORM"

DOCFILES="TODO"

need_apache2

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

src_install() {
	mv src/.libs/{libmod_transform.so,mod_transform.so} || die
	apache2_src_install
}