diff options
Diffstat (limited to 'dev-perl/Mail-DKIM/Mail-DKIM-0.410.0.ebuild')
-rw-r--r-- | dev-perl/Mail-DKIM/Mail-DKIM-0.410.0.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-perl/Mail-DKIM/Mail-DKIM-0.410.0.ebuild b/dev-perl/Mail-DKIM/Mail-DKIM-0.410.0.ebuild new file mode 100644 index 000000000000..ab087c3dae78 --- /dev/null +++ b/dev-perl/Mail-DKIM/Mail-DKIM-0.410.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=MBRADSHAW +DIST_VERSION=0.41 +DIST_EXAMPLES=("examples/*" "scripts/*") +inherit perl-module + +DESCRIPTION="Signs/verifies Internet mail using DKIM message signatures" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="test" + +RDEPEND=">=dev-perl/Crypt-OpenSSL-RSA-0.24 + virtual/perl-Digest-SHA + virtual/perl-MIME-Base64 + dev-perl/Net-DNS + dev-perl/MailTools" +DEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker + test? ( virtual/perl-Test-Simple ) +" +mydoc=("doc/*.txt" "HACKING.DKIM") + +src_prepare() { + # https://rt.cpan.org/Ticket/Display.html?id=121194 + mkdir -p "${S}"/examples || die "Can't mkdir ${S}/examples" + mv "${S}"/sample_mime_lite.pl "${S}"/examples || die "Can't relocate sample_mime_lite" + sed -i -e '/^sample_mime_lite.pl/d' MANIFEST || die "Can't fix manifest" + perl-module_src_prepare +} +src_test(){ + # disable online tests + perl_rm_files t/{policy,public_key,verifier,dev-manifest}.t + perl-module_src_test +} |