1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="A monitoring system based on Nagios"
10 HOMEPAGE="http://www.icinga.org/"
11 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
18 RDEPEND="dbi? ( dev-db/libdbi-drivers )
19 ssl? ( dev-libs/openssl )"
24 enewuser icinga -1 -1 -1 icinga
28 econf --with-posix-regex \
30 $(use_enable dbi idoutils)
34 emake all || die "emake failed"
38 emake DESTDIR="${D}" install-unstripped install-api install-init install-config install-commandmode || die
40 emake DESTDIR="${D}" install-idoutils || die
42 dodoc README THANKS AUTHORS || die "dodoc failed"