summaryrefslogtreecommitdiff
path: root/app-crypt/stoken
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-10-26 00:10:07 +0100
committerV3n3RiX <venerix@koprulu.sector>2021-10-26 00:10:07 +0100
commit95461df035e3867364495f065e5e805bf629b2d7 (patch)
tree867dce371a84a696e91be255d89f282975aa0480 /app-crypt/stoken
parent46eedbedafdb0040c37884982d4c775ce277fb7b (diff)
gentoo resync : 25.10.2021
Diffstat (limited to 'app-crypt/stoken')
-rw-r--r--app-crypt/stoken/Manifest2
-rw-r--r--app-crypt/stoken/stoken-0.92-r2.ebuild (renamed from app-crypt/stoken/stoken-0.92-r1.ebuild)19
2 files changed, 16 insertions, 5 deletions
diff --git a/app-crypt/stoken/Manifest b/app-crypt/stoken/Manifest
index 22b5a8e0ad0f..70bacdee426f 100644
--- a/app-crypt/stoken/Manifest
+++ b/app-crypt/stoken/Manifest
@@ -1,3 +1,3 @@
DIST stoken-0.92.tar.gz 117212 BLAKE2B 8d236a73b0626ab91d145d01fa07c28ba8c54a3053aaba32b64b4dacc39dc8265d5740630ec2495d678c975b1bfa480a79a5ec1115accf39170229b444673f48 SHA512 b41262320c24e487ece884fc431d835c787f057947a92e3d57ed2047bc02b576b072e8a69f4b58b47ab1f913b5ae8c3ee8108d3b55c1477f15848420b668fea3
-EBUILD stoken-0.92-r1.ebuild 676 BLAKE2B 387fce2bab61a019d6ddd9cd0ac08a9ef4fe3706aa268ccb775d5400259e851867ff71c76ffb042e81920d74c2f01d19cfef92bcea5e0b91610077aa75c61e2c SHA512 c2e2146383b4f77eb1f03879448605a9360ca14b95d310c60192e4e68247e31a85f87b5aa7b19bca454954605b87237a52fa9fbd98da0ea8349374a6a589f571
+EBUILD stoken-0.92-r2.ebuild 832 BLAKE2B 8a5c790a784e0e432af40d9d889854ebd858458d663a80ef61323662006d146fe447081263770f90d30c078b5b123ef15d64c8969579c95f4b02c3c0e7db35f9 SHA512 a1c1cd11af73a0cd2fc733a61a7bd2b826f485df3856ab19919a6df795c4ec36b6d62a2b32beedbd647f94e855887d2541e584af780e332be116d95e74c56893
MISC metadata.xml 621 BLAKE2B e200a7bbf5f43900ecbfaf4acd8e52d83525e8be25a4167ccf8de7296ad5578b7795a8feb9aa902af0f5dd620e6d227482adfbf258bf92cf08ea8bbfa2e1be27 SHA512 40dc7ef9b3c995d44e0509f85a3b2862e959467fc10429470d16b3492c0c70f67769a0e1b5433063af92cb2bc8a2a49e8049ce957dab5ac013b6de3620612b0c
diff --git a/app-crypt/stoken/stoken-0.92-r1.ebuild b/app-crypt/stoken/stoken-0.92-r2.ebuild
index 2508df6bacdf..9cf7d5d6aeb7 100644
--- a/app-crypt/stoken/stoken-0.92-r1.ebuild
+++ b/app-crypt/stoken/stoken-0.92-r2.ebuild
@@ -12,19 +12,30 @@ 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 ppc64 ~riscv x86"
-IUSE="gtk static"
+IUSE="gtk static-libs"
-# || ( dev-libs/nettle dev-libs/libtomcrypt ) libtomcrypt is not packaged
+# TODO: add a USE flag to enable optional use of tomcrypt instead of nettle.
RDEPEND="
dev-libs/nettle
gtk? ( >=x11-libs/gtk+-3.12:3 )"
DEPEND="${RDEPEND}"
src_prepare() {
+ default
eautoreconf
- eapply_user
}
src_configure() {
- econf $(use_with gtk) --enable-static=$(usex static)
+ local myconf=(
+ $(use_with gtk)
+ $(use_enable static-libs static)
+ --with-nettle
+ --without-tomcrypt
+ )
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -type f -delete || die
}