You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/mail-filter/amavisd-milter/amavisd-milter-1.7.0-r1.ebuild

28 lines
681 B

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
DESCRIPTION="sendmail milter for amavisd-new"
HOMEPAGE="https://github.com/prehor/amavisd-milter/"
SRC_URI="https://github.com/prehor/${PN}/releases/download/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="|| ( mail-filter/libmilter mail-mta/sendmail )
elibc_uclibc? ( net-libs/libnsl:0= )"
RDEPEND="${DEPEND}
mail-filter/amavisd-new"
DOCS=( AMAVISD-MILTER.md CHANGES INSTALL )
src_install() {
default
newinitd "${FILESDIR}/amavisd-milter.initd-r2" amavisd-milter
newconfd "${FILESDIR}/amavisd-milter.confd" amavisd-milter
}