94e79d1761
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@2821 6952d904-891a-0410-993b-d76249ca496b
43 lines
948 B
Bash
43 lines
948 B
Bash
# Copyright 1999-2011 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="Open Source Computer System Management !"
|
|
HOMEPAGE="http://pulse2.mandriva.org/"
|
|
SRC_URI="http://mds.mandriva.org/pub/pulse2/server/sources/${PV}/pulse2-${PV}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
KEYWORDS="~amd64 ~arm ~x86 ~x86-fbsd"
|
|
IUSE=""
|
|
DEPEND="sys-apps/lsb-release
|
|
sys-devel/gettext"
|
|
RDEPEND=">=app-admin/pulse2-web-core-${PV}
|
|
!app-admin/mmc-web-glpi
|
|
!app-admin/mmc-web-imaging
|
|
!app-admin/mmc-web-msc
|
|
!app-admin/mmc-web-dyngroup
|
|
!app-admin/mmc-web-inventory
|
|
!app-admin/mmc-web-pkgs
|
|
!app-admin/mmc-web-pulse2"
|
|
|
|
SLOT="0"
|
|
|
|
need_php_httpd
|
|
|
|
S="${WORKDIR}/pulse2-${PV}/web"
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}"/pulse2-1.3.0-makefile-1.patch
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" PREFIX=/usr install || die "install failed"
|
|
}
|