# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
DIST_AUTHOR=KMX
DIST_VERSION=0.20
inherit perl-module

DESCRIPTION="Digital Signature Algorithm using OpenSSL"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~hppa ~mips ppc ppc64 sparc x86"

RDEPEND="
	dev-libs/openssl:0=
"
DEPEND="${RDEPEND}"
BDEPEND="${RDEPEND}
	virtual/perl-ExtUtils-MakeMaker
"

DIST_TEST=do
# otherwise random fails occur
src_compile() {
	mymake=(
		"OPTIMIZE=${CFLAGS}"
	)
	perl-module_src_compile
}