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.
37 lines
734 B
37 lines
734 B
# Copyright 1999-2016 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
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 ~x86"
|
|
IUSE="debug +migration-tool"
|
|
SLOT="2"
|
|
LICENSE="BSD"
|
|
|
|
RDEPEND="
|
|
dev-db/sqlite:3
|
|
dev-libs/botan[threads,-bindist]
|
|
"
|
|
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
|
|
}
|