mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-25 07:08:13 -07:00
mail-filter/imapfilter: add 2.8.3
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Part-of: https://github.com/gentoo/gentoo/pull/42184 Closes: https://github.com/gentoo/gentoo/pull/42184 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
7713099e81
commit
29125963df
@@ -1 +1,2 @@
|
||||
DIST imapfilter-2.8.2.tar.gz 58622 BLAKE2B b47e9902fc08be74d2cad622c75093d7771a97db0142373a3fc4fbd03613225b5f1a6fcd1f9354219c27d856450ff2a266d49f5d7f4e1b95b29876ac9594d02f SHA512 b16e684d6af4e8c3f465e22c008b9231209f1336b1f9a27fbd98460cf987f84e81040250ccb657d3986100b3804f1fc130a409cacc3921180920d26193dd5967
|
||||
DIST imapfilter-2.8.3.tar.gz 58724 BLAKE2B e423519a24a95c9898e77d065430f02fb2c1820a959e479b605ef291529c7f30c7a24d44c9f74240ce949ea4bd503d87323c596279248c310b6f7204d2098fa3 SHA512 e7827958acc3a04b66a3a17545b67f64f635329b576a5e8443898bb3869cd6f19df52ad85281a09e578b1c15f2346c2ab85bf688ee702bf6c8d0a74fe6a20a10
|
||||
|
||||
48
mail-filter/imapfilter/imapfilter-2.8.3.ebuild
Normal file
48
mail-filter/imapfilter/imapfilter-2.8.3.ebuild
Normal file
@@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LUA_COMPAT=( lua5-{1..4} luajit )
|
||||
|
||||
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"
|
||||
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/openssl:=
|
||||
dev-libs/libpcre2
|
||||
${LUA_DEPS}"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( AUTHORS NEWS README samples/. )
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user