0e06dfc88b
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@2144 6952d904-891a-0410-993b-d76249ca496b
42 lines
956 B
Bash
42 lines
956 B
Bash
# Copyright 1999-2010 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI="2"
|
|
SUPPORT_PYTHON_ABIS="1"
|
|
|
|
inherit eutils distutils
|
|
|
|
MY_P="${P/_p/-}"
|
|
MY_PV="${PV/_p*/}"
|
|
|
|
DESCRIPTION="Open Source Computer System Management and its Python plugins."
|
|
HOMEPAGE="http://pulse2.mandriva.org/"
|
|
SRC_URI="http://pulse2.mandriva.org/pub/pulse2/server/sources/${MY_PV}/${MY_P}.tar.gz
|
|
http://ftp.disconnected-by-peer.at/mds/${MY_P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
|
IUSE="nls"
|
|
|
|
SLOT="0"
|
|
|
|
RDEPEND=">=dev-python/twisted-web-0.7.0
|
|
>=app-admin/pulse2-common-${MY_PV}"
|
|
|
|
S="${WORKDIR}/${PN}-${MY_PV}"
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}"/${PN}-1.2.4-install-target-1.patch
|
|
distutils_src_prepare
|
|
}
|
|
|
|
src_install() {
|
|
emake install_nopy PREFIX=/usr DESTDIR=${D}
|
|
distutils_src_install
|
|
dodoc Changelog
|
|
|
|
newinitd "${FILESDIR}"/pulse2-scheduler.initd pulse2-scheduler
|
|
}
|
|
|