33fec04278
(Portage version: 2.1.10.7/svn/Linux x86_64, RepoMan options: --force) git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@2994 6952d904-891a-0410-993b-d76249ca496b
46 lines
1.0 KiB
Bash
46 lines
1.0 KiB
Bash
# Copyright 1999-2011 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI="2"
|
|
SUPPORT_PYTHON_ABIS="1"
|
|
|
|
inherit eutils autotools
|
|
|
|
MY_P="${P/_p/-}"
|
|
MY_PV="${PV/_p*/}"
|
|
|
|
DESCRIPTION="The MMC Agent and its Core Python plugins."
|
|
HOMEPAGE="http://mds.mandriva.org/"
|
|
SRC_URI="http://mds.mandriva.org/pub/mds/sources/${PV}/mds-${PV}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
|
IUSE=""
|
|
|
|
SLOT="0"
|
|
|
|
RDEPEND=">=app-admin/mmc-core-${PV}
|
|
!app-admin/mds-web-core"
|
|
|
|
DEPEND="sys-apps/lsb-release
|
|
sys-devel/gettext"
|
|
|
|
S="${WORKDIR}/mds-${MY_PV}"
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}"/mds-2.4.1-printing-1.patch
|
|
eautoreconf || die "eautoreconf failed"
|
|
}
|
|
|
|
src_install() {
|
|
emake install DESTDIR=${D} || die "install failed"
|
|
}
|
|
|
|
pkg_postinst() {
|
|
elog "To disable some plugin in your mmc environments, you have to set"
|
|
elog "disable to 1 in /etc/mmc/plugins/*.ini"
|
|
elog "(one config file per service)"
|
|
elog "You can't disable the base plugin."
|
|
}
|