1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="A tool to analyze qmail activity with the goal to graph everything through MRTG"
9 HOMEPAGE="http://dev.publicshout.org/qmrtg"
10 SRC_URI="${HOMEPAGE}/download/${P}.tar.gz"
14 KEYWORDS="~amd64 ~x86"
17 RDEPEND="net-analyzer/mrtg"
21 -e 's|^CFLAGS =|CFLAGS ?=|g' \
22 analyzers/Makefile.in filters/Makefile.in || die
24 epatch "${FILESDIR}"/mrtg.cfg.patch
25 epatch "${FILESDIR}"/qmrtg.conf.sample.patch
26 epatch "${FILESDIR}"/${P}-TAI_STR_LEN.patch
33 keepdir /var/lib/qmrtg
41 insinto /usr/share/qmrtg2
48 elog "You need to configure manually qmrtg in order to run it."
49 elog "The configuration templates in /usr/share/qmrtg2/ and"
50 elog "the INSTALL file in /usr/share/doc/qmrtg-2.1/"
51 elog "will be useful."