linamh/www-apache/mod_admserv/mod_admserv-1.0.20070807.ebuild

44 lines
984 B
Bash
Raw Normal View History

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit apache-module ssl-cert versionator
MY_PV=$(replace_version_separator 2 '-')
KEYWORDS="amd64 ~sparc ~x86"
DESCRIPTION="An Apache 2.0 module for implementing the admin server functionality required by Fedora Admin Server and Directory Server"
HOMEPAGE="http://directory.fedora.redhat.com/"
SRC_URI="ftp://mars.arge.at/fedora-ds/${PN}-${MY_PV}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
DEPEND=">=dev-libs/mozldap-6.0.2
>=net-nds/fedora-ds-adminutil-1.1.4
>=dev-libs/nss-3.11.4
>=dev-libs/nspr-4.6.4
>=dev-libs/icu-3.4"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}-${MY_PV}"
APACHE2_MOD_CONF="48_${PN}"
APACHE2_MOD_DEFINE="ADMSERV"
DOCFILES="LICENSE NOTICE README"
need_apache2
src_compile() {
econf --with-apxs=${APXS2} \
|| die "econf failed"
emake || die "emake failed"
}
src_install() {
apache-module_src_install
}