38 lines
1 KiB
Bash
38 lines
1 KiB
Bash
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/mail-mta/esmtp/esmtp-1.2.ebuild,v 1.10 2013/03/17 20:01:03 zx2c4 Exp $
|
|
|
|
DESCRIPTION="esmtp is a user configurable relay-only Mail Transfer Agent (MTA) with a sendmail compatible syntax"
|
|
HOMEPAGE="http://esmtp.sourceforge.net/"
|
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~x86-macos"
|
|
IUSE=""
|
|
|
|
DEPEND="net-libs/libesmtp
|
|
dev-libs/openssl
|
|
sys-devel/flex"
|
|
RDEPEND="net-libs/libesmtp
|
|
dev-libs/openssl
|
|
!mail-mta/courier
|
|
!mail-mta/exim
|
|
!mail-mta/mini-qmail
|
|
!mail-mta/msmtp
|
|
!mail-mta/netqmail
|
|
!mail-mta/nullmailer
|
|
!mail-mta/postfix
|
|
!mail-mta/qmail-ldap
|
|
!mail-mta/sendmail
|
|
!mail-mta/ssmtp
|
|
!mail-mta/opensmtpd"
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" install || die "einstall failed"
|
|
dodoc AUTHORS ChangeLog NEWS README TODO sample.esmtprc || die
|
|
}
|
|
|
|
pkg_postinst() {
|
|
elog "A sample esmtprc file has been installed in /usr/share/doc/${P}"
|
|
}
|