2010-02-18 19:08:17 +01:00
|
|
|
# Copyright 1999-2010 Gentoo Foundation
|
2009-09-03 15:39:15 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
EAPI="2"
|
|
|
|
|
|
|
|
inherit eutils depend.apache depend.php
|
|
|
|
|
|
|
|
DESCRIPTION="Mandriva Directory Server - Identity and network services management made easy !"
|
|
|
|
HOMEPAGE="http://mds.mandriva.org/"
|
|
|
|
SRC_URI="http://mds.mandriva.org/pub/mds/sources/${PV}/${P}.tar.gz
|
|
|
|
http://ftp.mars.arge.at/mds/${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
2010-02-18 19:08:17 +01:00
|
|
|
KEYWORDS="~amd64 ~arm ~x86 ~x86-fbsd"
|
2009-09-03 15:39:15 +02:00
|
|
|
IUSE=""
|
|
|
|
DEPEND="sys-apps/lsb-release
|
|
|
|
sys-devel/gettext"
|
|
|
|
RDEPEND=">=app-admin/mmc-web-base-${PV}
|
|
|
|
net-misc/dhcp[ldap]
|
|
|
|
|| ( net-dns/bind[sdb-ldap] net-dns/pdns[ldap] )"
|
|
|
|
SLOT="0"
|
|
|
|
|
|
|
|
need_php_httpd
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
epatch "${FILESDIR}"/${PN}-2.3.2-powerdns-1.patch
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
emake DESTDIR="${D}" PREFIX=/usr install || die "install failed"
|
|
|
|
}
|