net-mail/dovecot-fts-flatcurve - 1.0.5 (guru)

Search

Install

Install this version:

emerge -a =net-mail/dovecot-fts-flatcurve-1.0.5

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-mail/dovecot-fts-flatcurve-1.0.5

Or alternatively:

emerge --autounmask-write -a =net-mail/dovecot-fts-flatcurve-1.0.5

Package Information

Description:
Dovecot FTS plugin to enable message indexing using Xapian
Homepage:
https://github.com/slusarz/dovecot-fts-flatcurve
License:
LGPL-2.1

Ebuild Details

Version EAPI Keywords Slot
1.0.5 8 ~amd64 0
View Raw Ebuild
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools

DESCRIPTION="Dovecot FTS plugin to enable message indexing using Xapian"
HOMEPAGE="https://github.com/slusarz/dovecot-fts-flatcurve"
SRC_URI="https://github.com/slusarz/dovecot-fts-flatcurve/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64"

IUSE="textcat"

DEPEND="
	<net-mail/dovecot-2.4.0:=[stemmer,textcat?]
	dev-libs/xapian:=
"
RDEPEND="${DEPEND}"

src_prepare() {
	default
	eautoreconf
}

src_configure() {
	econf \
		--enable-hardening=no \
		--with-dovecot="${EPREFIX}/usr/$(get_libdir)/dovecot"
}

src_install() {
	default
	find "${D}" -name "*.la" -delete

	dodoc "${FILESDIR}/90-fts.conf"
}

pkg_postinst() {
	elog "For configuration, report to https://slusarz.github.io/dovecot-fts-flatcurve/configuration.html"
	elog "The steps are as follows : "
	elog "Insert 'mail_plugins = $mail_plugins fts fts_flatcurve' in /etc/dovecot/conf.d/10-mail.conf"
	elog "Set configuration in /etc/dovecot/conf.d/90-fts.conf"
	elog "See example : /usr/share/doc/${P}/90-fts.conf.bz2"
}

USE Flags

Manage flags for this package: euse -i <flag> -p net-mail/dovecot-fts-flatcurve | euse -E <flag> -p net-mail/dovecot-fts-flatcurve | euse -D <flag> -p net-mail/dovecot-fts-flatcurve

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

	<net-mail/dovecot-2.4.0:=[stemmer,textcat?]
	dev-libs/xapian:=

RDEPEND

	<net-mail/dovecot-2.4.0:=[stemmer,textcat?]
	dev-libs/xapian:=

Manifest for 1.0.5

Type File Size Source URLs
DIST dovecot-fts-flatcurve-1.0.5.tar.gz 114989 bytes https://github.com/slusarz/dovecot-fts-flatcurve/archive/refs/tags/v1.0.5.tar.gz