summaryrefslogtreecommitdiff
blob: 888e6e5dc444fc5c610628b1a4d91ad6179aa546 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Vitaly Kushneriuk <vitaly_kushneriuk@yahoo.com>
# $Header: /var/cvsroot/gentoo-x86/net-mail/qmailanalog/qmailanalog-0.70.ebuild,v 1.2 2002/06/17 14:27:17 bangert Exp $

S=${WORKDIR}/${P}

DESCRIPTION="collection of tools to help you analyze qmail's activity record."
SRC_URI="http://cr.yp.to/software/${P}.tar.gz"
HOMEPAGE="http://cr.yp.to/qmailanalog.html"
LICENSE="as-is"

DEPEND="virtual/glibc
		sys-apps/groff"

src_compile() {
	echo "/var/qmail" > conf-home
	echo "gcc ${CFLAGS}" > conf-cc
	echo "gcc" > conf-ld
	
	emake || die
	gcc ${FILESDIR}/tai64nfrac.c -o tai64nfrac
}

src_install () {
	into /usr
	doman matchup.1 xqp.1 xsender.1 xrecipient.1 columnt.1
	dodoc MATCHUP ACCOUNTING BLURB

	insopts -o root -g qmail -m 755
    insinto /var/qmail/bin
	into /var/qmail
	dobin columnt ddist deferrals failures matchup recipients rhosts
	dobin rxdelay senders successes suids xqp xrecipient xsender
	dobin zddist zdeferrals zfailures zoverall zrecipients zrhosts
	dobin zrxdelay zsenders zsendmail zsuccesses zsuids tai64nfrac
}