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.
34 lines
688 B
34 lines
688 B
# Copyright 1999-2014 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI="5"
|
|
|
|
inherit eutils
|
|
|
|
DESCRIPTION="sendmail milter for amavisd-new"
|
|
HOMEPAGE="http://amavisd-milter.sourceforge.net/"
|
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
IUSE=""
|
|
|
|
DEPEND="|| ( mail-filter/libmilter mail-mta/sendmail )
|
|
mail-filter/amavisd-new"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_prepare() {
|
|
epatch_user
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" install
|
|
|
|
dodoc AUTHORS CHANGES INSTALL README TODO
|
|
|
|
newinitd "${FILESDIR}/amavisd-milter.initd" amavisd-milter
|
|
newconfd "${FILESDIR}/amavisd-milter.confd" amavisd-milter
|
|
}
|