You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-mail/mu/mu-0.9.6.ebuild

53 lines
1.2 KiB

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/mu/mu-0.9.6.ebuild,v 1.6 2012/12/02 20:30:00 tomka Exp $
EAPI=3
inherit base
DESCRIPTION="Set of tools to deal with Maildirs, in particular, searching and indexing"
HOMEPAGE="http://www.djcbsoftware.nl/code/mu/"
SRC_URI="http://mu0.googlecode.com/files/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="gui"
DEPEND=">=dev-libs/gmime-2.4:2.4
dev-libs/xapian
>=dev-libs/glib-2.22:2
gui? ( x11-libs/gtk+:2
net-libs/webkit-gtk:2 )
!net-mail/mailutils"
RDEPEND="${DEPEND}"
src_configure() {
local guiconf
if use gui; then
guiconf="--with-gui=gtk2"
else
guiconf="--with-gui=none"
fi
econf --disable-silent-rules "${guiconf}"
}
src_install () {
base_src_install
# Installing the guis is not supported by upstream
if use gui; then
dobin toys/mug/mug || die
dobin toys/mug2/mug2 || die
fi
}
pkg_postinst() {
elog "The database format changed. Please reindex your mail"
elog "using 'mu index --rebuild'."
elog "See the manpage for additional information."
}
DOCS=( "AUTHORS" "HACKING" "NEWS" "TODO" )