/[gentoo-x86]/net-mail/mu/mu-0.9.6.ebuild
Gentoo

Contents of /net-mail/mu/mu-0.9.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Thu Nov 8 18:20:28 2012 UTC (20 months ago) by tomka
Branch: MAIN
Changes since 1.4: +4 -3 lines
Fix dep also for 0.9.6

(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x89DEB219565C32BC)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-mail/mu/mu-0.9.6.ebuild,v 1.4 2011/07/07 17:04:47 tomka Exp $
4
5 EAPI=3
6
7 inherit base
8
9 DESCRIPTION="Set of tools to deal with Maildirs, in particular, searching and indexing"
10 HOMEPAGE="http://www.djcbsoftware.nl/code/mu/"
11 SRC_URI="http://mu0.googlecode.com/files/${P}.tar.gz"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="amd64 x86"
16 IUSE="gui"
17
18 DEPEND=">=dev-libs/gmime-2.4:2.4
19 dev-libs/xapian
20 >=dev-libs/glib-2.22:2
21 gui? ( x11-libs/gtk+:2
22 net-libs/webkit-gtk:2 )
23 !net-mail/mailutils"
24 RDEPEND="${DEPEND}"
25
26 src_configure() {
27 local guiconf
28 if use gui; then
29 guiconf="--with-gui=gtk2"
30 else
31 guiconf="--with-gui=none"
32 fi
33
34 econf "${guiconf}"
35 }
36
37 src_install () {
38 base_src_install
39 # Installing the guis is not supported by upstream
40 if use gui; then
41 dobin toys/mug/mug || die
42 dobin toys/mug2/mug2 || die
43 fi
44 }
45
46 pkg_postinst() {
47 elog "The database format changed. Please reindex your mail"
48 elog "using 'mu index --rebuild'."
49 elog "See the manpage for additional information."
50 }
51
52 DOCS=( "AUTHORS" "HACKING" "NEWS" "TODO" )

  ViewVC Help
Powered by ViewVC 1.1.20