1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="Abstraction layer to simplify PKCS#11 API"
7 HOMEPAGE="https://github.com/opensc/libp11/wiki"
8 SRC_URI="https://github.com/OpenSC/${PN}/releases/download/${P}/${P}.tar.gz"
12 KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh sparc x86"
13 IUSE="libressl bindist doc static-libs"
16 !libressl? ( dev-libs/openssl:0=[bindist=] )
17 libressl? ( >=dev-libs/libressl-2.8:0= )"
20 doc? ( app-doc/doxygen )"
25 $(use_enable static-libs static) \
26 $(use_enable doc api-doc)
31 find "${D}" -name '*.la' -delete || die