You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# Copyright 1999-2021 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=7
|
|
|
|
DIST_AUTHOR=MIK
|
|
|
|
DIST_VERSION=0.072
|
|
|
|
inherit perl-module
|
|
|
|
|
|
|
|
DESCRIPTION="Self-contained crypto toolkit"
|
|
|
|
LICENSE="|| ( Artistic GPL-1+ ) public-domain"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~mips ppc64 sparc x86"
|
|
|
|
IUSE="test minimal"
|
|
|
|
RESTRICT="!test? ( test )"
|
|
|
|
|
|
|
|
RDEPEND="
|
|
|
|
!minimal? (
|
|
|
|
|| (
|
|
|
|
dev-perl/Cpanel-JSON-XS
|
|
|
|
dev-perl/JSON-XS
|
|
|
|
virtual/perl-JSON-PP
|
|
|
|
)
|
|
|
|
)
|
|
|
|
"
|
|
|
|
# dev-libs/libtommath
|
|
|
|
# dev-libs/libtomcrypt
|
|
|
|
|
|
|
|
BDEPEND="${RDEPEND}
|
|
|
|
virtual/perl-ExtUtils-MakeMaker
|
|
|
|
test? (
|
|
|
|
>=virtual/perl-Test-Simple-0.880.0
|
|
|
|
!minimal? (
|
|
|
|
>=virtual/perl-Math-BigInt-1.999.715
|
|
|
|
>=virtual/perl-Storable-2.0.0
|
|
|
|
)
|
|
|
|
)
|
|
|
|
"
|
|
|
|
|
|
|
|
#DEPEND="
|
|
|
|
# dev-libs/libtommath
|
|
|
|
# dev-libs/libtomcrypt
|
|
|
|
#"
|
|
|
|
|
|
|
|
PERL_RM_FILES=(
|
|
|
|
t/002_all_pm.t
|
|
|
|
t/003_all_pm_pod.t
|
|
|
|
t/004_all_pm_pod_spelling.t
|
|
|
|
t/005_all_pm_pod_coverage.t
|
|
|
|
)
|
|
|
|
|
|
|
|
#src_configure() {
|
|
|
|
# CRYPTX_LDFLAGS='-ltommath -ltomcrypt' perl-module_src_configure
|
|
|
|
#}
|
|
|
|
|
|
|
|
src_compile() {
|
|
|
|
mymake=(
|
|
|
|
"OPTIMIZE=${CFLAGS}"
|
|
|
|
)
|
|
|
|
perl-module_src_compile
|
|
|
|
}
|