1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs eutils
8 DESCRIPTION="Indexes and searches Maildir/MH folders"
9 HOMEPAGE="http://www.rpcurnow.force9.co.uk/mairix/"
10 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
11 gnus? ( mirror://gentoo/${P}-gnus-marks-propagation.patch.gz )"
15 KEYWORDS="amd64 ppc x86 ~x86-macos"
17 IUSE="zlib bzip2 gnus"
19 RDEPEND="zlib? ( sys-libs/zlib )
20 bzip2? ( app-arch/bzip2 )"
26 # Fail on various locales
30 # econf would fail with unknown options.
31 # Now it only prints "Unrecognized option".
32 sed -i -e "/^[[:space:]]*bad_options=yes/d" "${S}"/configure || die "sed failed"
34 # Add support for gnus marks propagation (bug #274578)
35 use gnus && epatch "${WORKDIR}"/${P}-gnus-marks-propagation.patch
41 $(use_enable zlib gzip-mbox) \
42 $(use_enable bzip2 bzip-mbox)
47 doman mairix.1 mairixrc.5
48 dodoc NEWS README dotmairixrc.eg