2010-05-01 14:24:46 +02:00
|
|
|
# Copyright 1999-2010 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
EAPI="2"
|
|
|
|
|
|
|
|
inherit eutils depend.apache depend.php
|
|
|
|
|
|
|
|
MY_P="${P/_p/-}"
|
|
|
|
MY_PV="${PV/_p*/}"
|
|
|
|
|
|
|
|
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}/mds-${PV}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
KEYWORDS="~amd64 ~arm ~x86 ~x86-fbsd"
|
|
|
|
IUSE=""
|
|
|
|
DEPEND="sys-apps/lsb-release
|
|
|
|
sys-devel/gettext"
|
2010-05-01 16:17:21 +02:00
|
|
|
RDEPEND=">=app-admin/mmc-web-core-${PV}
|
|
|
|
!app-admin/mmc-web-bulkimport
|
|
|
|
!app-admin/mmc-web-mail
|
|
|
|
!app-admin/mmc-web-network
|
|
|
|
!app-admin/mmc-web-proxy
|
|
|
|
!app-admin/mmc-web-samba
|
|
|
|
!app-admin/mmc-web-userquota"
|
2010-05-01 14:24:46 +02:00
|
|
|
SLOT="0"
|
|
|
|
|
|
|
|
need_php_httpd
|
|
|
|
|
|
|
|
S="${WORKDIR}/mds-${MY_PV}/web"
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
emake DESTDIR="${D}" PREFIX=/usr install || die "install failed"
|
|
|
|
}
|