1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="An Apache2 module to provide libxml2 encoding"
9 HOMEPAGE="http://apache.webthing.com/mod_xml2enc/"
10 SRC_URI="http://apache.webthing.com/svn/apache/filters/mod_xml2enc.h
11 http://apache.webthing.com/svn/apache/filters/mod_xml2enc.c"
19 DEPEND="app-arch/bzip2
23 #APACHE2_MOD_CONF="27_${PN}"
24 #APACHE2_MOD_DEFINE="XML2ENC"
31 mkdir "${WORKDIR}"/${PN}
32 cp "${DISTDIR}/mod_xml2enc.h" "${WORKDIR}"/${PN}
33 cp "${DISTDIR}/mod_xml2enc.c" "${WORKDIR}"/${PN}
37 APXS2_ARGS="$(xml2-config --cflags) -c ${PN}.c"
38 apache-module_src_compile