commit:     994a1d045956e747869a0103c12db964a5908d1c
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 18 23:33:00 2017 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Thu Oct 19 00:06:15 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=994a1d04

dev-perl/Crypt-DH: EAPI6 + Tests

- EAPI6
- Tests enabled

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-perl/Crypt-DH/Crypt-DH-0.70.0-r2.ebuild | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/dev-perl/Crypt-DH/Crypt-DH-0.70.0-r2.ebuild 
b/dev-perl/Crypt-DH/Crypt-DH-0.70.0-r2.ebuild
new file mode 100644
index 00000000000..1535df4d748
--- /dev/null
+++ b/dev-perl/Crypt-DH/Crypt-DH-0.70.0-r2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=MITHALDU
+DIST_VERSION=0.07
+inherit perl-module
+
+DESCRIPTION="Diffie-Hellman key exchange system"
+
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~mips ~x86"
+IUSE=""
+
+RDEPEND="
+       dev-libs/gmp
+       dev-perl/Math-BigInt-GMP
+       >=virtual/perl-Math-BigInt-1.60
+       dev-perl/Crypt-Random
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+       sed -i -e 's/use inc::Module::Install;/use lib q[.]; use 
inc::Module::Install;/' Makefile.PL ||
+               die "Can't patch Makefile.PL for 5.26 dot-in-inc"
+       perl-module_src_prepare
+}

Reply via email to