blob: 19c2ee1bdd6fb4a388c1f732e96e7fbbf36ed129 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/mu/mu-0.9.7.ebuild,v 1.1 2011/11/21 12:18:55 eras 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 ) "
RDEPEND="${DEPEND}"
src_configure() {
local guiconf
if use gui; then
guiconf="--with-gui=gtk2"
else
guiconf="--with-gui=none"
fi
econf "${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
dodoc AUTHORS HACKING NEWS TODO README ChangeLog INSTALL
}
|