# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=3 inherit apache-module eutils DESCRIPTION="Apache RFC3744 (Access Control Rights) module implementation." HOMEPAGE="http://moddavacl.sourceforge.net/" LICENSE="" SRC_URI="mirror://sourceforge/moddavacl/${P}.tar.gz" KEYWORDS="~amd64" IUSE="" SLOT="0" DEPEND="dev-libs/libical dev-libs/libxml2" # See apache-module.eclass for more information. APACHE2_MOD_CONF="80_dav_acl" APACHE2_MOD_DEFINE="DAV_ACL" #APXS2_ARGS="-I/usr/include/libxml2 -c ${PN}.c" need_apache2 src_configure() { econf \ --with-apxs=${APXS} \ --with-apr-config=/usr/bin/apr-config \ || die "econf failed" } src_compile() { emake || die "emake failed" } src_install() { dobin acl-test-cli || die "Error installing acl-test-cli" dosbin principals.sh || die "Error installing principals.sh" apache-module_src_install }