diff options
Diffstat (limited to 'net-mail/qmailanalog/qmailanalog-0.70-r1.ebuild')
-rw-r--r-- | net-mail/qmailanalog/qmailanalog-0.70-r1.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/net-mail/qmailanalog/qmailanalog-0.70-r1.ebuild b/net-mail/qmailanalog/qmailanalog-0.70-r1.ebuild new file mode 100644 index 000000000000..6407b2c03964 --- /dev/null +++ b/net-mail/qmailanalog/qmailanalog-0.70-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils fixheadtails toolchain-funcs + +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="freedist public-domain" # public-domain for files/tai64nfrac.c +SLOT="0" +KEYWORDS="x86 sparc ~amd64" +IUSE="" + +DEPEND="sys-apps/groff" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PV}-errno.patch + ht_fix_file auto_home.c.do default.do Makefile +} + +src_compile() { + echo "/var/qmail" > conf-home + echo "$(tc-getCC) ${CFLAGS}" > conf-cc + echo "$(tc-getCC) ${LDFLAGS}" > conf-ld + + emake || die + $(tc-getCC) ${CFLAGS} "${FILESDIR}"/tai64nfrac.c -o tai64nfrac || die +} + +src_test() { :; } + +src_install() { + 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 +} |