summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-10-19 12:33:00 +1300
committerKent Fredric <kentnl@gentoo.org>2017-10-19 13:06:15 +1300
commit994a1d045956e747869a0103c12db964a5908d1c (patch)
tree4689ac699d090625c138546270496c7d4268b86f /dev-perl/Crypt-DH/Crypt-DH-0.70.0-r2.ebuild
parentx11-apps/xinit: Drop old versions (diff)
downloadgentoo-994a1d045956e747869a0103c12db964a5908d1c.tar.gz
gentoo-994a1d045956e747869a0103c12db964a5908d1c.tar.bz2
gentoo-994a1d045956e747869a0103c12db964a5908d1c.zip
dev-perl/Crypt-DH: EAPI6 + Tests
- EAPI6 - Tests enabled Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-perl/Crypt-DH/Crypt-DH-0.70.0-r2.ebuild')
-rw-r--r--dev-perl/Crypt-DH/Crypt-DH-0.70.0-r2.ebuild28
1 files changed, 28 insertions, 0 deletions
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 000000000000..1535df4d748b
--- /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
+}