2010-02-18 19:15:37 +01:00
|
|
|
# Copyright 1999-2010 Gentoo Foundation
|
2009-12-05 08:20:05 +01:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
EAPI="2"
|
2010-05-01 15:38:05 +02:00
|
|
|
SUPPORT_PYTHON_ABIS="1"
|
2009-12-05 08:20:05 +01:00
|
|
|
|
2010-05-01 15:38:05 +02:00
|
|
|
inherit eutils distutils
|
2009-12-05 08:20:05 +01:00
|
|
|
|
|
|
|
MY_P="${P/_p/-}"
|
|
|
|
MY_PV="${PV/_p*/}"
|
|
|
|
|
|
|
|
DESCRIPTION="The pulse2 inventory server 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
|
2010-05-01 15:38:05 +02:00
|
|
|
http://ftp.disconnected-by-peer.at/mds/${MY_P}.tar.gz"
|
2009-12-05 08:20:05 +01:00
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
2010-02-18 19:15:37 +01:00
|
|
|
KEYWORDS="~amd64 ~arm ~x86 ~x86-fbsd"
|
2009-12-05 08:20:05 +01:00
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
SLOT="0"
|
|
|
|
|
|
|
|
RDEPEND=">=dev-python/twisted-web-0.7.0
|
|
|
|
>=dev-python/sqlalchemy-0.5.2
|
|
|
|
>=app-admin/pulse2-common-${MY_PV}
|
|
|
|
>=app-admin/pulse2-mmc-plugins-${MY_PV}"
|
|
|
|
|
|
|
|
S="${WORKDIR}/${PN}-${MY_PV}"
|
|
|
|
|
2010-05-01 15:38:05 +02:00
|
|
|
src_prepare() {
|
|
|
|
epatch "${FILESDIR}"/${PN}-1.2.4-install-target-1.patch
|
|
|
|
distutils_src_prepare
|
|
|
|
}
|
2009-12-05 08:20:05 +01:00
|
|
|
|
2010-05-01 15:38:05 +02:00
|
|
|
src_install() {
|
|
|
|
emake install_nopy PREFIX=/usr DESTDIR=${D}
|
|
|
|
distutils_src_install
|
2009-12-05 08:20:05 +01:00
|
|
|
newinitd "${FILESDIR}"/pulse2-inventory-server.initd pulse2-inventory-server
|
|
|
|
}
|