diff options
Diffstat (limited to 'www-apache/mod_depends/mod_depends-0.7.0_p200702041.ebuild')
-rw-r--r-- | www-apache/mod_depends/mod_depends-0.7.0_p200702041.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/www-apache/mod_depends/mod_depends-0.7.0_p200702041.ebuild b/www-apache/mod_depends/mod_depends-0.7.0_p200702041.ebuild new file mode 100644 index 0000000..e85693e --- /dev/null +++ b/www-apache/mod_depends/mod_depends-0.7.0_p200702041.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils apache-module + +DESCRIPTION="An apache helper module for handling dependencies properly." +SRC_URI="http://battousai.mylair.de/dist/mod_depends/${P}.tar.bz2" +HOMEPAGE="http://www.outoforder.cc/projects/apache/mod_depends/" + +SLOT="0" +LICENSE="Apache-2.0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +APACHE2_MOD_CONF="0.7/09_${PN}" +APACHE2_MOD_DEFINE="DEPENDS" + +#S="${WORKDIR}/${PN}" + +need_apache2 + +src_compile() { + econf --with-apxs="${APXS2}" || die "configure failed" + + emake || die "make failed" +} + +src_install() { + AP_INCLUDEDIR=$(${APXS2} -q INCLUDEDIR) + + insinto ${AP_INCLUDEDIR} + doins include/mod_depends.h || die + + mv -v src/.libs/{lib,}mod_depends.so + + apache-module_src_install +} + +# vim:ts=4 |