summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-02-09 20:25:50 +0100
committerConrad Kostecki <conikost@gentoo.org>2022-02-09 23:55:01 +0100
commitf33b3eeff7194a2e30ae1a8ef5b25488141cc689 (patch)
treef35bbb88eee14fb0a15814d3f20518b746492188 /app-crypt
parentapp-crypt/acme-sh: drop 3.0.2 (diff)
downloadgentoo-f33b3eeff7194a2e30ae1a8ef5b25488141cc689.tar.gz
gentoo-f33b3eeff7194a2e30ae1a8ef5b25488141cc689.tar.bz2
gentoo-f33b3eeff7194a2e30ae1a8ef5b25488141cc689.zip
app-crypt/ssss: update EAPI 7 -> 8
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/ssss/ssss-0.5.7-r1.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/app-crypt/ssss/ssss-0.5.7-r1.ebuild b/app-crypt/ssss/ssss-0.5.7-r1.ebuild
new file mode 100644
index 000000000000..ce73f8924357
--- /dev/null
+++ b/app-crypt/ssss/ssss-0.5.7-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Shamir's Secret Sharing Scheme"
+HOMEPAGE="https://github.com/MrJoy/ssss"
+SRC_URI="https://github.com/MrJoy/${PN}/archive/releases/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-releases-v${PV}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+RDEPEND="dev-libs/gmp:0="
+DEPEND="${RDEPEND}"
+BDEPEND="app-doc/xmltoman"
+
+HTML_DOCS=( "doc.html" "ssss.1.html" )
+
+src_prepare() {
+ default
+
+ tc-export CC
+
+ # Respect users [CL]FLAGS and don't strip, as portage does this part
+ sed -e 's/-O2/$(CFLAGS) -lgmp $(LDFLAGS)/g' -e '/strip/d' -i Makefile || die
+}
+
+src_install() {
+ dobin ssss-split
+ dosym ssss-split /usr/bin/ssss-combine
+
+ doman ssss.1
+
+ einstalldocs
+}