blob: a440b78d21804ed24aebe56d0a5925e0775f2549 (
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
|
# Copyright 2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_P=scdtools-${PV}
DESCRIPTION="Feed kernel entropy pool from smartcard's TRNG"
HOMEPAGE="https://incenp.org/dvlpt/scdtools.html"
SRC_URI="https://incenp.org/files/softs/scdtools/$(ver_cut 1-2)/${MY_P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-libs/libgcrypt:=
dev-libs/libassuan:=
dev-libs/libgpg-error:="
RDEPEND="${DEPEND}
app-crypt/gnupg"
S=${WORKDIR}/${MY_P}
src_compile() {
emake -C lib
emake -C src scdrand
}
src_test() { :; }
src_install() {
emake DESTDIR="${D}" -C man man_MANS="scdrand.1" install
emake DESTDIR="${D}" -C src bin_PROGRAMS="scdrand" install
}
|