Diff CryptX-0.73.0 with a CryptX-0.77.0
/usr/portage/dev-perl/CryptX/CryptX-0.77.0.ebuild 2023-10-09 14:52:29.840368359 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
# TODO: unbundle libtommath, libtomcrypt. There's experimental support upstream. |
|
7 |
# bug #732634 |
|
8 | ||
6 | 9 |
DIST_AUTHOR=MIK |
7 |
DIST_VERSION=0.073 |
|
10 |
DIST_VERSION=0.077 |
|
8 | 11 |
inherit perl-module |
9 | 12 | |
10 | 13 |
DESCRIPTION="Self-contained crypto toolkit" |
14 | ||
11 | 15 |
LICENSE="|| ( Artistic GPL-1+ ) public-domain" |
12 | 16 |
SLOT="0" |
13 | 17 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc64 ~riscv sparc x86" |
14 | 18 |
IUSE="minimal" |
15 | 19 | |
16 | 20 |
RDEPEND=" |
21 |
virtual/perl-Math-BigInt |
|
17 | 22 |
!minimal? ( |
18 | 23 |
dev-perl/JSON |
19 | 24 |
) |
20 | 25 |
" |
21 |
# dev-libs/libtommath |
|
22 |
# dev-libs/libtomcrypt |
|
23 | ||
24 |
BDEPEND="${RDEPEND} |
|
26 |
BDEPEND=" |
|
27 |
${RDEPEND} |
|
25 | 28 |
virtual/perl-ExtUtils-MakeMaker |
26 | 29 |
test? ( |
27 | 30 |
>=virtual/perl-Test-Simple-0.880.0 |
... | ... | |
32 | 35 |
) |
33 | 36 |
" |
34 | 37 | |
35 |
#DEPEND=" |
|
36 |
# dev-libs/libtommath |
|
37 |
# dev-libs/libtomcrypt |
|
38 |
#" |
|
39 | ||
40 | 38 |
PERL_RM_FILES=( |
41 | 39 |
t/002_all_pm.t |
42 | 40 |
t/003_all_pm_pod.t |
... | ... | |
47 | 45 |
#src_configure() { |
48 | 46 |
# CRYPTX_LDFLAGS='-ltommath -ltomcrypt' perl-module_src_configure |
49 | 47 |
#} |
50 | ||
51 |
src_compile() { |
|
52 |
mymake=( |
|
53 |
"OPTIMIZE=${CFLAGS}" |
|
54 |
) |
|
55 |
perl-module_src_compile |
|
56 |
} |