summaryrefslogtreecommitdiff
blob: f9895e1b57ee6a3ac57778db6d3bee4e96ca9e9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DIST_AUTHOR=AJGB
DIST_VERSION=0.05
inherit perl-module flag-o-matic

DESCRIPTION="Shared secret elliptic-curve Diffie-Hellman generator"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"

RDEPEND="
	virtual/perl-Carp
	virtual/perl-Exporter
	virtual/perl-XSLoader
"
DEPEND="${RDEPEND}
	virtual/perl-ExtUtils-MakeMaker
	test? (
		virtual/perl-File-Spec
		virtual/perl-IO
		virtual/perl-Test-Simple
	)
"
pkg_setup() {
	filter-flags "-flto" # https://github.com/ajgb/crypt-curve25519/issues/6
	myconf=("OPTIMIZE=${CFLAGS}")
}