summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-02-24 00:23:19 +0000
committerTim Harder <radhermit@gentoo.org>2012-02-24 00:23:19 +0000
commit84fdbc3bb676c5fe87433d66abe00a656ded7e84 (patch)
treef4f4138867d46e00dcd61dbdc12a10444fb255a4 /mail-filter
parentVersion bump, bug #403177. Force python-2 during build, bug #392969. (diff)
downloadgentoo-2-84fdbc3bb676c5fe87433d66abe00a656ded7e84.tar.gz
gentoo-2-84fdbc3bb676c5fe87433d66abe00a656ded7e84.tar.bz2
gentoo-2-84fdbc3bb676c5fe87433d66abe00a656ded7e84.zip
Version bump.
(Portage version: 2.2.0_alpha87/cvs/Linux x86_64)
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/imapfilter/ChangeLog7
-rw-r--r--mail-filter/imapfilter/imapfilter-2.5.ebuild39
2 files changed, 45 insertions, 1 deletions
diff --git a/mail-filter/imapfilter/ChangeLog b/mail-filter/imapfilter/ChangeLog
index e511ee9db890..5c8c25f650a5 100644
--- a/mail-filter/imapfilter/ChangeLog
+++ b/mail-filter/imapfilter/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-filter/imapfilter
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/imapfilter/ChangeLog,v 1.40 2012/02/24 00:23:19 radhermit Exp $
+
+*imapfilter-2.5 (24 Feb 2012)
+
+ 24 Feb 2012; Tim Harder <radhermit@gentoo.org> +imapfilter-2.5.ebuild:
+ Version bump.
*imapfilter-2.4.2 (20 Jan 2012)
diff --git a/mail-filter/imapfilter/imapfilter-2.5.ebuild b/mail-filter/imapfilter/imapfilter-2.5.ebuild
new file mode 100644
index 000000000000..ec98eac62ebb
--- /dev/null
+++ b/mail-filter/imapfilter/imapfilter-2.5.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.5.ebuild,v 1.1 2012/02/24 00:23:19 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
+}