mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
mail-filter/imapfilter: add 2.8.5
Signed-off-by: Stefan Strogin <steils@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST imapfilter-2.8.2.tar.gz 58622 BLAKE2B b47e9902fc08be74d2cad622c75093d7771a97db0142373a3fc4fbd03613225b5f1a6fcd1f9354219c27d856450ff2a266d49f5d7f4e1b95b29876ac9594d02f SHA512 b16e684d6af4e8c3f465e22c008b9231209f1336b1f9a27fbd98460cf987f84e81040250ccb657d3986100b3804f1fc130a409cacc3921180920d26193dd5967
|
||||
DIST imapfilter-2.8.3.tar.gz 58724 BLAKE2B e423519a24a95c9898e77d065430f02fb2c1820a959e479b605ef291529c7f30c7a24d44c9f74240ce949ea4bd503d87323c596279248c310b6f7204d2098fa3 SHA512 e7827958acc3a04b66a3a17545b67f64f635329b576a5e8443898bb3869cd6f19df52ad85281a09e578b1c15f2346c2ab85bf688ee702bf6c8d0a74fe6a20a10
|
||||
DIST imapfilter-2.8.5.tar.gz 59433 BLAKE2B d52b3220d34c5bb65b48cbc545488decb2dd04bcc0cc6c43c1f20c4350f1a7df4a956a5b04c63d9db8e03dde32ce7aa329d80856f8494f0856431d2a8531d63d SHA512 683de17c3f795c11c7a02fcf899523352aae062c8e55376a2a53aa0f0e6e330a4b199e433005e58eaf1778abfa23bdfc9ba15c0e055540e9524c568b6f8b4347
|
||||
|
||||
48
mail-filter/imapfilter/imapfilter-2.8.5.ebuild
Normal file
48
mail-filter/imapfilter/imapfilter-2.8.5.ebuild
Normal file
@@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2026 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