# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="5" inherit apache-module MY_PN=${PN/_/-} MY_PV=${PV/_p/-0} MY_P=${MY_PN}-${MY_PV} DESCRIPTION="Allows you to run each of your vhost under a separate uid and gid" HOMEPAGE="http://mpm-itk.sesse.net/" SRC_URI="http://mpm-itk.sesse.net/${MY_P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64" IUSE="" S="${WORKDIR}/${MY_P}" DEPEND="sys-libs/libcap" RDEPEND="${DEPEND}" APACHE2_MOD_CONF="00_${PN}" APACHE2_MOD_DEFINE="MPM_ITK" need_apache2_4 src_configure() { econf --with-apxs="${APXS}" } src_compile() { emake -j1 } src_install() { apache-module_src_install }