summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-12-06 22:50:40 +0000
committerTim Harder <radhermit@gentoo.org>2011-12-06 22:50:40 +0000
commitab7eef0eb23a43083ed4fe4a4a408d425602a324 (patch)
treedd31bd8748eefa4de20448e165961c96bbb6ae8e /mail-filter
parentFix typos in export options pointed out by Yufeng Shen. (diff)
downloadgentoo-2-ab7eef0eb23a43083ed4fe4a4a408d425602a324.tar.gz
gentoo-2-ab7eef0eb23a43083ed4fe4a4a408d425602a324.tar.bz2
gentoo-2-ab7eef0eb23a43083ed4fe4a4a408d425602a324.zip
Version bump.
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/imapfilter/ChangeLog7
-rw-r--r--mail-filter/imapfilter/imapfilter-2.4.ebuild39
2 files changed, 45 insertions, 1 deletions
diff --git a/mail-filter/imapfilter/ChangeLog b/mail-filter/imapfilter/ChangeLog
index d243070a43cc..e0005da3057a 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.36 2011/11/20 14:44:59 eras Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/imapfilter/ChangeLog,v 1.37 2011/12/06 22:50:40 radhermit Exp $
+
+*imapfilter-2.4 (06 Dec 2011)
+
+ 06 Dec 2011; Tim Harder <radhermit@gentoo.org> +imapfilter-2.4.ebuild:
+ Version bump.
*imapfilter-2.3 (20 Nov 2011)
diff --git a/mail-filter/imapfilter/imapfilter-2.4.ebuild b/mail-filter/imapfilter/imapfilter-2.4.ebuild
new file mode 100644
index 000000000000..4587ef256671
--- /dev/null
+++ b/mail-filter/imapfilter/imapfilter-2.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/imapfilter/imapfilter-2.4.ebuild,v 1.1 2011/12/06 22:50:40 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
+}