summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-02-28 02:27:15 +0000
committerTim Harder <radhermit@gentoo.org>2012-02-28 02:27:15 +0000
commit1953ef7167519966b52444155bcd2cc04d1ca25e (patch)
tree92168d95c278ce549da5c5525a0c149e1112a8ed /mail-filter
parentVersion bump. (diff)
downloadgentoo-2-1953ef7167519966b52444155bcd2cc04d1ca25e.tar.gz
gentoo-2-1953ef7167519966b52444155bcd2cc04d1ca25e.tar.bz2
gentoo-2-1953ef7167519966b52444155bcd2cc04d1ca25e.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.1.ebuild39
2 files changed, 45 insertions, 1 deletions
diff --git a/mail-filter/imapfilter/ChangeLog b/mail-filter/imapfilter/ChangeLog
index 3dafb53c5ce9..a3aebc59f8a7 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.41 2012/02/24 00:27:31 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/imapfilter/ChangeLog,v 1.42 2012/02/28 02:27:15 radhermit Exp $
+
+*imapfilter-2.5.1 (28 Feb 2012)
+
+ 28 Feb 2012; Tim Harder <radhermit@gentoo.org> +imapfilter-2.5.1.ebuild:
+ Version bump.
24 Feb 2012; Tim Harder <radhermit@gentoo.org>
-files/imapfilter-2.0.10-deprecated.patch, -imapfilter-2.2.3.ebuild,
diff --git a/mail-filter/imapfilter/imapfilter-2.5.1.ebuild b/mail-filter/imapfilter/imapfilter-2.5.1.ebuild
new file mode 100644
index 000000000000..cae5d394d227
--- /dev/null
+++ b/mail-filter/imapfilter/imapfilter-2.5.1.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.1.ebuild,v 1.1 2012/02/28 02:27:15 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
+}