summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-01-20 04:36:50 +0000
committerTim Harder <radhermit@gentoo.org>2012-01-20 04:36:50 +0000
commit308944bb7c9f2e649069a1f623c89d90c657f10a (patch)
tree80326328343acaffb250745ef05a3ddd688def8a /mail-filter
parentRequire >=glib-2.30.1 because presence of glib's .la files can result in link... (diff)
downloadgentoo-2-308944bb7c9f2e649069a1f623c89d90c657f10a.tar.gz
gentoo-2-308944bb7c9f2e649069a1f623c89d90c657f10a.tar.bz2
gentoo-2-308944bb7c9f2e649069a1f623c89d90c657f10a.zip
Version bump.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/imapfilter/ChangeLog9
-rw-r--r--mail-filter/imapfilter/imapfilter-2.4.2.ebuild39
2 files changed, 46 insertions, 2 deletions
diff --git a/mail-filter/imapfilter/ChangeLog b/mail-filter/imapfilter/ChangeLog
index 4a80505445c4..e511ee9db890 100644
--- a/mail-filter/imapfilter/ChangeLog
+++ b/mail-filter/imapfilter/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-filter/imapfilter
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/imapfilter/ChangeLog,v 1.38 2011/12/09 02:24:07 radhermit Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/imapfilter/ChangeLog,v 1.39 2012/01/20 04:36:50 radhermit Exp $
+
+*imapfilter-2.4.2 (20 Jan 2012)
+
+ 20 Jan 2012; Tim Harder <radhermit@gentoo.org> +imapfilter-2.4.2.ebuild:
+ Version bump.
*imapfilter-2.4.1 (09 Dec 2011)
diff --git a/mail-filter/imapfilter/imapfilter-2.4.2.ebuild b/mail-filter/imapfilter/imapfilter-2.4.2.ebuild
new file mode 100644
index 000000000000..21879bbc4242
--- /dev/null
+++ b/mail-filter/imapfilter/imapfilter-2.4.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/imapfilter/imapfilter-2.4.2.ebuild,v 1.1 2012/01/20 04:36:50 radhermit Exp $
+
+EAPI=4
+
+inherit toolchain-funcs
+
+DESCRIPTION="An IMAP mail filtering utility"
+HOMEPAGE="http://imapfilter.hellug.gr"
+SRC_URI="https://github.com/downloads/lefcha/imapfilter/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="dev-libs/openssl
+ dev-libs/libpcre
+ >=dev-lang/lua-5.1"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ sed -i -e "/^PREFIX/s:/local::" \
+ -e "/^MANDIR/s:man:share/man:" \
+ -e "/^CFLAGS/s:CFLAGS =:CFLAGS +=:" \
+ -e "/^CFLAGS/s/-O//" \
+ src/Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS NEWS README samples/*
+ doman doc/imapfilter.1 doc/imapfilter_config.5
+}