Install this version:
emerge -a =app-crypt/stoken-0.92
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Software Token for Linux/UNIX"
HOMEPAGE="https://github.com/cernekee/stoken"
SRC_URI="https://github.com/cernekee/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
IUSE="gtk"
# TODO: add a USE flag to enable optional use of tomcrypt instead of nettle.
RDEPEND="
dev-libs/nettle:=
gtk? ( x11-libs/gtk+:3 )"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
src_prepare() {
default
eautoreconf
}
src_configure() {
local myconf=(
$(use_with gtk)
--with-nettle
--without-tomcrypt
)
econf "${myconf[@]}"
}
src_install() {
default
find "${ED}" -name '*.la' -type f -delete || die
}
Manage flags for this package:
euse -i <flag> -p app-crypt/stoken |
euse -E <flag> -p app-crypt/stoken |
euse -D <flag> -p app-crypt/stoken
dev-libs/nettle:= gtk? ( x11-libs/gtk+:3 )
dev-libs/nettle:= gtk? ( x11-libs/gtk+:3 )
virtual/pkgconfig
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | stoken-0.92.tar.gz | 117212 bytes | https://github.com/cernekee/stoken/archive/v0.92.tar.gz |