diff options
author | Michał Górny <mgorny@gentoo.org> | 2012-01-14 19:55:11 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2012-01-14 19:55:11 +0000 |
commit | 13302eb558112516dc180705a64b6b0db21f5afa (patch) | |
tree | 8d03ba523a0f7b73888cdcaacc59eb9f50929924 /mail-client | |
parent | alpha/ia64/s390/sh/sparc stable wrt #393937 (diff) | |
download | gentoo-2-13302eb558112516dc180705a64b6b0db21f5afa.tar.gz gentoo-2-13302eb558112516dc180705a64b6b0db21f5afa.tar.bz2 gentoo-2-13302eb558112516dc180705a64b6b0db21f5afa.zip |
Use autotools-utils -- suport user patches with autoreconf.
(Portage version: 2.2.0_alpha84_p26/cvs/Linux x86_64)
Diffstat (limited to 'mail-client')
-rw-r--r-- | mail-client/claws-mail/ChangeLog | 7 | ||||
-rw-r--r-- | mail-client/claws-mail/claws-mail-3.8.0.ebuild | 64 |
2 files changed, 36 insertions, 35 deletions
diff --git a/mail-client/claws-mail/ChangeLog b/mail-client/claws-mail/ChangeLog index f99e7db38354..e5fed604b078 100644 --- a/mail-client/claws-mail/ChangeLog +++ b/mail-client/claws-mail/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for mail-client/claws-mail -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v 1.191 2011/12/26 10:08:22 fauli Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v 1.192 2012/01/14 19:55:11 mgorny Exp $ + + 14 Jan 2012; Michał Górny <mgorny@gentoo.org> claws-mail-3.8.0.ebuild: + Use autotools-utils -- suport user patches with autoreconf. *claws-mail-3.8.0 (26 Dec 2011) diff --git a/mail-client/claws-mail/claws-mail-3.8.0.ebuild b/mail-client/claws-mail/claws-mail-3.8.0.ebuild index 85d926025052..08dc277d75c5 100644 --- a/mail-client/claws-mail/claws-mail-3.8.0.ebuild +++ b/mail-client/claws-mail/claws-mail-3.8.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.8.0.ebuild,v 1.1 2011/12/26 10:08:22 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.8.0.ebuild,v 1.2 2012/01/14 19:55:11 mgorny Exp $ EAPI="4" -inherit multilib gnome2-utils +inherit autotools-utils multilib gnome2-utils DESCRIPTION="An email client (and news reader) based on GTK+" HOMEPAGE="http://www.claws-mail.org/" @@ -44,46 +44,48 @@ RDEPEND="${COMMONDEPEND} PLUGIN_NAMES="acpi-notifier address_keeper archive att-remover attachwarner clamd fancy fetchinfo gdata gtkhtml mailmbox newmail notification perl python rssyl spam_report tnef_parse vcalendar" src_configure() { - local myconf + local myeconfargs=( + $(use_enable ipv6) + $(use_enable ldap) + $(use_enable dbus) + $(use_enable pda jpilot) + $(use_enable spell enchant) + $(use_enable xface compface) + $(use_enable doc manual) + $(use_enable startup-notification) + $(use_enable session libsm) + $(use_enable crypt pgpmime-plugin) + $(use_enable crypt pgpinline-plugin) + $(use_enable crypt pgpcore-plugin) + $(use_enable dillo dillo-viewer-plugin) + $(use_enable spamassassin spamassassin-plugin) + $(use_enable bogofilter bogofilter-plugin) + $(use_enable smime smime-plugin) + --enable-trayicon-plugin + --disable-maemo + ) + # libetpan is needed if user wants nntp or imap functionality if use imap || use nntp; then - myconf="--enable-libetpan" + myeconfargs+=( --enable-libetpan ) else - myconf="--disable-libetpan" + myeconfargs+=( --disable-libetpan ) fi # The usage of openssl was discarded once and USE=ssl is mapped to # USE=gnutls now. Maybe USE=ssl can fade out sometime if use ssl || use gnutls; then - myconf="${myconf} --enable-gnutls" + myeconfargs+=( --enable-gnutls ) else - myconf="${myconf} --disable-gnutls" + myeconfargs+=( --disable-gnutls ) fi - econf \ - $(use_enable ipv6) \ - $(use_enable ldap) \ - $(use_enable dbus) \ - $(use_enable pda jpilot) \ - $(use_enable spell enchant) \ - $(use_enable xface compface) \ - $(use_enable doc manual) \ - $(use_enable startup-notification) \ - $(use_enable session libsm) \ - $(use_enable crypt pgpmime-plugin) \ - $(use_enable crypt pgpinline-plugin) \ - $(use_enable crypt pgpcore-plugin) \ - $(use_enable dillo dillo-viewer-plugin) \ - $(use_enable spamassassin spamassassin-plugin) \ - $(use_enable bogofilter bogofilter-plugin) \ - $(use_enable smime smime-plugin) \ - --docdir=/usr/share/doc/${PF} \ - --enable-trayicon-plugin \ - --disable-maemo ${myconf} + autotools-utils_src_configure } src_install() { - emake DESTDIR="${D}" install || die + local DOCS=( AUTHORS ChangeLog* INSTALL* NEWS README* TODO* ) + autotools-utils_src_install # Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps # => also install it in /usr/share/pixmaps for other desktop envs @@ -97,7 +99,6 @@ src_install() { newins ${PN}-${res}.png ${PN}.png || die done - dodoc AUTHORS ChangeLog* INSTALL* NEWS README* TODO* docinto tools dodoc tools/README* @@ -109,9 +110,6 @@ src_install() { exeinto /usr/$(get_libdir)/${PN}/tools doexe *.pl *.py *.conf *.sh || die doexe tb2claws-mail update-po uudec uuooffice || die - - # kill useless plugin files - rm -f "${D}"/usr/lib*/${PN}/plugins/*.{la,a} } pkg_preinst() { |