1 |
commit: 62b5113895cfdf27106de25195aa25f8214ddd82 |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 30 14:51:07 2020 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 30 14:53:04 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62b51138 |
7 |
|
8 |
dev-perl/Crypt-Curve25519: -r bump for EAPI7 and fixes |
9 |
|
10 |
- EAPI7 |
11 |
- Fix license ( Used CC-PD, as some parts say they're public-domain |
12 |
works, but there's not really a better license for this at present ), |
13 |
and some parts have 3-clause BSD. |
14 |
- Ensure CFLAGS passed through to make |
15 |
- Make PATCHES a bash array |
16 |
|
17 |
Package-Manager: Portage-2.3.100, Repoman-2.3.22 |
18 |
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org> |
19 |
|
20 |
.../Crypt-Curve25519-0.60.0-r1.ebuild | 39 ++++++++++++++++++++++ |
21 |
1 file changed, 39 insertions(+) |
22 |
|
23 |
diff --git a/dev-perl/Crypt-Curve25519/Crypt-Curve25519-0.60.0-r1.ebuild b/dev-perl/Crypt-Curve25519/Crypt-Curve25519-0.60.0-r1.ebuild |
24 |
new file mode 100644 |
25 |
index 00000000000..320adc25a9c |
26 |
--- /dev/null |
27 |
+++ b/dev-perl/Crypt-Curve25519/Crypt-Curve25519-0.60.0-r1.ebuild |
28 |
@@ -0,0 +1,39 @@ |
29 |
+# Copyright 1999-2020 Gentoo Authors |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+ |
32 |
+EAPI=7 |
33 |
+ |
34 |
+DIST_AUTHOR=AJGB |
35 |
+DIST_VERSION=0.06 |
36 |
+inherit perl-module flag-o-matic |
37 |
+ |
38 |
+DESCRIPTION="Shared secret elliptic-curve Diffie-Hellman generator" |
39 |
+LICENSE="|| ( Artistic GPL-1+ ) BSD CC-PD" |
40 |
+SLOT="0" |
41 |
+KEYWORDS="~amd64 ~x86" |
42 |
+IUSE="test" |
43 |
+RESTRICT="!test? ( test )" |
44 |
+ |
45 |
+PATCHES=( |
46 |
+ "${FILESDIR}/${P}-fmul-fixedvar.patch" |
47 |
+) |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ virtual/perl-Carp |
51 |
+ virtual/perl-Exporter |
52 |
+ virtual/perl-XSLoader |
53 |
+" |
54 |
+BDEPEND="${RDEPEND} |
55 |
+ virtual/perl-ExtUtils-MakeMaker |
56 |
+ test? ( |
57 |
+ virtual/perl-File-Spec |
58 |
+ virtual/perl-IO |
59 |
+ virtual/perl-Test-Simple |
60 |
+ ) |
61 |
+" |
62 |
+src_compile() { |
63 |
+ mymake=( |
64 |
+ "OPTIMIZE=${CFLAGS}" |
65 |
+ ) |
66 |
+ perl-module_src_compile |
67 |
+} |