blob: 36fc8bc0583b1a14de615218701a8a0c47d35f97 (
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
39
40
41
42
|
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
inherit python-r1 udev
MY_P="${P/-/_}"
DESCRIPTION="Software for the Open Hardware Random Number Generator called OneRNG"
HOMEPAGE="https://www.onerng.info/"
SRC_URI="https://github.com/OneRNG/onerng.github.io/raw/master/sw/${MY_P}.orig.tar.gz -> ${P}.tar.gz"
LICENSE="|| ( LGPL-2.1 LGPL-3 )"
SLOT="0"
KEYWORDS="amd64 x86"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
BDEPEND="virtual/pkgconfig"
DEPEND="virtual/udev"
RDEPEND="
${DEPEND}
${PYTHON_DEPS}
app-crypt/gnupg
dev-python/python-gnupg[${PYTHON_USEDEP}]
sys-apps/rng-tools
sys-process/at
"
S="${WORKDIR}/${MY_P}"
pkg_postinst() {
udev_reload
}
pkg_postrm() {
udev_reload
}
|