blob: 924288dcf0117d755fe9ceb610dcd6e22f645f46 (
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
37
38
39
40
|
# Copyright 1999-2007 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.8 2007/01/14 21:09:18 chtekk Exp $
inherit apache-module
KEYWORDS="~amd64 ~ppc ~x86"
DESCRIPTION="Filter module that allows Apache2 to do dynamic XSL transformations."
HOMEPAGE="http://www.outoforder.cc/projects/apache/mod_transform/"
SRC_URI="http://battousai.mylair.de/dist/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
DEPEND=">=dev-libs/libxslt-1.1.5
>=dev-libs/libxml2-2.6.11
>=www-misc/libapreq2-2.07
>=www-apache/mod_depends-0.7.0_p200508161"
RDEPEND="${DEPEND}"
APACHE2_MOD_CONF="0.7/10_${PN}"
APACHE2_MOD_DEFINE="TRANSFORM"
need_apache2
src_compile() {
econf --with-apxs=${APXS2} || die "econf failed"
emake || die "emake failed"
}
src_install() {
local PLUGIN_DIR=/usr/$(get_libdir)/apache2/modules/mod_transform
dodir ${PLUGIN_DIR}
insinto ${PLUGIN_DIR}
doins src/.libs/http.so
apache2_src_install
}
|