summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-03-01 03:00:18 +0000
committerTim Harder <radhermit@gentoo.org>2012-03-01 03:00:18 +0000
commit3f488a90ac99ece1b64f510847199c6556033ae3 (patch)
tree17fe69da5a8b74b03e101135d6d06311fd055360 /mail-filter
parentVersion bump. (diff)
downloadgentoo-2-3f488a90ac99ece1b64f510847199c6556033ae3.tar.gz
gentoo-2-3f488a90ac99ece1b64f510847199c6556033ae3.tar.bz2
gentoo-2-3f488a90ac99ece1b64f510847199c6556033ae3.zip
Version bump.
(Portage version: 2.2.0_alpha89/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.2.ebuild39
2 files changed, 45 insertions, 1 deletions
diff --git a/mail-filter/imapfilter/ChangeLog b/mail-filter/imapfilter/ChangeLog
index a3aebc59f8a7..4ec3c9726fbd 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.42 2012/02/28 02:27:15 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/imapfilter/ChangeLog,v 1.43 2012/03/01 03:00:18 radhermit Exp $
+
+*imapfilter-2.5.2 (01 Mar 2012)
+
+ 01 Mar 2012; Tim Harder <radhermit@gentoo.org> +imapfilter-2.5.2.ebuild:
+ Version bump.
*imapfilter-2.5.1 (28 Feb 2012)
diff --git a/mail-filter/imapfilter/imapfilter-2.5.2.ebuild b/mail-filter/imapfilter/imapfilter-2.5.2.ebuild
new file mode 100644
index 000000000000..be6042c0c3f6
--- /dev/null
+++ b/mail-filter/imapfilter/imapfilter-2.5.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.5.2.ebuild,v 1.1 2012/03/01 03:00:18 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
+}