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.
 
 
 

37 lines
890 B

  1. # Copyright 1999-2020 Gentoo Authors
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=7
  4. DESCRIPTION="Swiss Army Knife SMTP; Command line SMTP testing, including TLS and AUTH"
  5. HOMEPAGE="http://www.jetmore.org/john/code/swaks"
  6. SRC_URI="http://www.jetmore.org/john/code/swaks/${P}.tar.gz"
  7. LICENSE="GPL-2"
  8. SLOT="0"
  9. KEYWORDS="amd64 ~ppc ~x86"
  10. IUSE="ssl"
  11. DEPEND=">=dev-lang/perl-5.8.8"
  12. RDEPEND="${DEPEND}
  13. >=dev-perl/Net-DNS-0.65
  14. ssl? ( >=dev-perl/Net-SSLeay-1.35 )
  15. >=virtual/perl-MIME-Base64-3.07
  16. >=virtual/perl-Digest-MD5-2.39
  17. >=virtual/perl-Time-HiRes-1.97
  18. >=virtual/perl-Time-Local-1.19
  19. >=dev-perl/Authen-NTLM-1.02
  20. >=dev-perl/Authen-DigestMD5-0.04
  21. virtual/perl-Digest-SHA"
  22. src_compile() {
  23. /usr/bin/pod2man -s 1 doc/ref.pod swaks.1 || die "man page compulation failed"
  24. }
  25. src_install() {
  26. dobin swaks
  27. doman swaks.1
  28. dodoc README.txt doc/*.txt
  29. }