1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils apache-module
8 DESCRIPTION="An apache helper module for handling dependencies properly"
9 SRC_URI="http://upstream.rm-rf.in/${PN}/${P}.tar.bz2"
10 HOMEPAGE="http://www.outoforder.cc/projects/apache/mod_depends/"
14 KEYWORDS="~amd64 ~ppc ~x86"
17 APACHE2_MOD_CONF="0.7/09_${PN}"
18 APACHE2_MOD_DEFINE="DEPENDS"
23 econf --with-apxs="${APXS}" || die "configure failed"
24 emake || die "make failed"
28 AP_INCLUDEDIR=$(${APXS} -q INCLUDEDIR)
30 insinto ${AP_INCLUDEDIR}
31 doins include/mod_depends.h || die
33 mv -v src/.libs/{lib,}mod_depends.so
35 apache-module_src_install