diff options
Diffstat (limited to 'net-mail/mairix/mairix-0.24-r1.ebuild')
-rw-r--r-- | net-mail/mairix/mairix-0.24-r1.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/net-mail/mairix/mairix-0.24-r1.ebuild b/net-mail/mairix/mairix-0.24-r1.ebuild new file mode 100644 index 000000000000..ff491e5ffc50 --- /dev/null +++ b/net-mail/mairix/mairix-0.24-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" + +IUSE="zlib bzip2" + +RDEPEND=" + dev-libs/openssl:= + zlib? ( sys-libs/zlib ) + bzip2? ( app-arch/bzip2 ) +" + +DEPEND="${RDEPEND} + app-alternatives/lex + app-alternatives/yacc +" + +# 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 +} |