public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/imapfilter/
Date: Wed, 14 Oct 2020 14:44:17 +0000 (UTC)	[thread overview]
Message-ID: <1602686538.1ea529fe5bbba0ef7d50024eec0d452b448ffe5e.marecki@gentoo> (raw)

commit:     1ea529fe5bbba0ef7d50024eec0d452b448ffe5e
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 13 17:30:13 2020 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Oct 14 14:42:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ea529fe

mail-filter/imapfilter: migrate to lua-single.eclass

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 .../imapfilter/imapfilter-2.6.16-r100.ebuild       | 55 ++++++++++++++++++++++
 1 file changed, 55 insertions(+)

diff --git a/mail-filter/imapfilter/imapfilter-2.6.16-r100.ebuild b/mail-filter/imapfilter/imapfilter-2.6.16-r100.ebuild
new file mode 100644
index 00000000000..8709726d2a4
--- /dev/null
+++ b/mail-filter/imapfilter/imapfilter-2.6.16-r100.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( lua5-{1..3} )
+
+inherit lua-single toolchain-funcs
+
+DESCRIPTION="An IMAP mail filtering utility"
+HOMEPAGE="https://github.com/lefcha/imapfilter"
+SRC_URI="https://github.com/lefcha/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE="libressl"
+
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+RDEPEND="
+	!libressl? ( dev-libs/openssl:0= )
+	libressl? ( dev-libs/libressl:0= )
+	dev-libs/libpcre
+	${LUA_DEPS}"
+DEPEND="${RDEPEND}"
+
+DOCS="AUTHORS NEWS README samples/*"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-2.6.16-libressl.patch
+)
+
+src_prepare() {
+	default
+	sed -i -e "/^PREFIX/s:/usr/local:${EPREFIX}/usr:" \
+		-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}" \
+		INCDIRS=$(lua_get_CFLAGS) \
+		LIBLUA=$(lua_get_LIBS)
+}
+
+src_install() {
+	default
+	doman doc/imapfilter.1 doc/imapfilter_config.5
+}


             reply	other threads:[~2020-10-14 14:44 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-14 14:44 Marek Szuba [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-21 20:56 [gentoo-commits] repo/gentoo:master commit in: mail-filter/imapfilter/ Sam James
2024-12-07  6:28 Arthur Zamarin
2024-06-21 18:22 Sam James
2024-06-21 18:22 Sam James
2024-06-21 18:22 Sam James
2024-01-20 12:23 Sam James
2023-08-02 15:54 Arthur Zamarin
2023-07-02 15:34 Sam James
2023-07-02 12:14 Sam James
2023-01-14 19:17 Sam James
2023-01-03 18:28 Sam James
2023-01-03 18:28 Sam James
2023-01-03 18:22 Arthur Zamarin
2022-09-10 10:08 Sam James
2022-09-06 21:50 Sam James
2022-06-28  9:31 Sam James
2021-05-02  8:59 Mikle Kolyada
2021-02-05 12:33 Sam James
2021-02-05 12:29 Sam James
2021-02-02 23:46 Sam James
2021-01-31 21:51 Sam James
2021-01-25 17:38 Marek Szuba
2021-01-24  3:52 Sam James
2020-12-03 12:54 Marek Szuba
2020-03-26 18:28 Thomas Deutschmann
2020-03-26 10:24 Agostino Sarubbo
2020-03-26 10:20 Agostino Sarubbo
2020-03-26 10:17 Agostino Sarubbo
2020-03-25 22:53 Thomas Deutschmann
2019-02-27  4:45 Aaron Bauman
2019-02-27  4:45 Aaron Bauman
2019-02-27  4:45 Aaron Bauman
2019-02-27  4:45 Aaron Bauman
2019-01-07 19:15 Lars Wendler
2015-10-11  0:06 Anthony G. Basile

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1602686538.1ea529fe5bbba0ef7d50024eec0d452b448ffe5e.marecki@gentoo \
    --to=marecki@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox