esmtp-1.2.ebuild 960 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Copyright 1999-2013 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. DESCRIPTION="esmtp is a user configurable relay-only Mail Transfer Agent (MTA) with a sendmail compatible syntax"
  4. HOMEPAGE="http://esmtp.sourceforge.net/"
  5. SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
  6. LICENSE="GPL-2"
  7. SLOT="0"
  8. KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~x86-macos"
  9. IUSE=""
  10. DEPEND="net-libs/libesmtp
  11. dev-libs/openssl
  12. sys-devel/flex"
  13. RDEPEND="net-libs/libesmtp
  14. dev-libs/openssl
  15. !mail-mta/courier
  16. !mail-mta/exim
  17. !mail-mta/mini-qmail
  18. !mail-mta/msmtp
  19. !mail-mta/netqmail
  20. !mail-mta/nullmailer
  21. !mail-mta/postfix
  22. !mail-mta/qmail-ldap
  23. !mail-mta/sendmail
  24. !mail-mta/ssmtp
  25. !mail-mta/opensmtpd"
  26. src_install() {
  27. emake DESTDIR="${D}" install || die "einstall failed"
  28. dodoc AUTHORS ChangeLog NEWS README TODO sample.esmtprc || die
  29. }
  30. pkg_postinst() {
  31. elog "A sample esmtprc file has been installed in /usr/share/doc/${P}"
  32. }