From a05b0dab35a43fb013688db5326961cc16a711e4 Mon Sep 17 00:00:00 2001 From: Tim Harder Date: Sun, 1 Jul 2018 00:39:59 -0400 Subject: net-mail/mairix: version bump to 0.24 --- net-mail/mairix/mairix-0.24.ebuild | 47 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 net-mail/mairix/mairix-0.24.ebuild (limited to 'net-mail/mairix/mairix-0.24.ebuild') diff --git a/net-mail/mairix/mairix-0.24.ebuild b/net-mail/mairix/mairix-0.24.ebuild new file mode 100644 index 000000000000..2fb5df966c5f --- /dev/null +++ b/net-mail/mairix/mairix-0.24.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="Indexes and searches Maildir/MH folders" +HOMEPAGE="http://www.rpcurnow.force9.co.uk/mairix/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-macos" + +IUSE="zlib bzip2" + +RDEPEND="zlib? ( sys-libs/zlib ) + bzip2? ( app-arch/bzip2 )" + +DEPEND="${RDEPEND} + sys-devel/flex + sys-devel/bison" + +# Fail on various locales +RESTRICT="test" + +src_prepare() { + default + + # econf would fail with unknown options. + # Now it only prints "Unrecognized option". + sed -i -e "/^[[:space:]]*bad_options=yes/d" "${S}"/configure || die "sed failed" +} + +src_configure() { + tc-export CC + econf \ + $(use_enable zlib gzip-mbox) \ + $(use_enable bzip2 bzip-mbox) +} + +src_install() { + dobin mairix + doman mairix.1 mairixrc.5 + dodoc NEWS README dotmairixrc.eg +} -- cgit v1.2.3-65-gdbad