summaryrefslogtreecommitdiff
blob: 8c57b947dfdcd33e8f7afa00d6ebc2d46480095d (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
32
33
34
35
36
37
38
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

DESCRIPTION="A software PKCS#11 implementation"
HOMEPAGE="http://www.opendnssec.org/"
SRC_URI="http://www.opendnssec.org/files/source/${P}.tar.gz"

KEYWORDS="~amd64 ~hppa ~x86"
IUSE="debug +migration-tool"
SLOT="2"
LICENSE="BSD"

RDEPEND="
	dev-db/sqlite:3
	dev-libs/botan[threads,-bindist]
	!=dev-libs/softhsm-2.0.0:0
"
DEPEND="${RDEPEND}"

DOCS=( NEWS README.md )

src_configure() {
	econf \
		--disable-static \
		--localstatedir=/var \
		--with-botan="${EPREFIX}/usr/" \
		$(use_with migration-tool migrate) \
		$(use_enable amd64 64bit) \
		$(use debug && echo "--with-loglevel=4")
}

src_install() {
	default
	find "${ED}" -name '*.la' -delete
}