1 |
commit: b9fef369a54567ecc76f534fd1d0e1e54c344f69 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 10 14:38:11 2020 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 10 16:22:10 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9fef369 |
7 |
|
8 |
app-crypt/ssss: respect users ldflags |
9 |
|
10 |
Closes: https://bugs.gentoo.org/722074 |
11 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
12 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
13 |
|
14 |
app-crypt/ssss/ssss-0.5-r1.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ |
15 |
1 file changed, 39 insertions(+) |
16 |
|
17 |
diff --git a/app-crypt/ssss/ssss-0.5-r1.ebuild b/app-crypt/ssss/ssss-0.5-r1.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..99411362aaf |
20 |
--- /dev/null |
21 |
+++ b/app-crypt/ssss/ssss-0.5-r1.ebuild |
22 |
@@ -0,0 +1,39 @@ |
23 |
+# Copyright 1999-2020 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=7 |
27 |
+ |
28 |
+inherit toolchain-funcs |
29 |
+ |
30 |
+DESCRIPTION="Shamir's Secret Sharing Scheme" |
31 |
+HOMEPAGE="http://point-at-infinity.org/ssss/" |
32 |
+SRC_URI="http://point-at-infinity.org/${PN}/${P}.tar.gz" |
33 |
+ |
34 |
+KEYWORDS="amd64 x86" |
35 |
+LICENSE="GPL-2" |
36 |
+SLOT="0" |
37 |
+ |
38 |
+RDEPEND="dev-libs/gmp:0=" |
39 |
+DEPEND="${RDEPEND}" |
40 |
+BDEPEND="app-doc/xmltoman" |
41 |
+ |
42 |
+DOCS=( "HISTORY" "THANKS" ) |
43 |
+HTML_DOCS=( "doc.html" "ssss.1.html" ) |
44 |
+ |
45 |
+src_prepare() { |
46 |
+ default |
47 |
+ |
48 |
+ tc-export CC |
49 |
+ |
50 |
+ # Respect users [CL]FLAGS and don't strip, as portage does this part |
51 |
+ sed -e 's/-O2/$(CFLAGS) -lgmp $(LDFLAGS)/g' -e '/strip/d' -i Makefile || die |
52 |
+} |
53 |
+ |
54 |
+src_install() { |
55 |
+ dobin ssss-split |
56 |
+ dosym ssss-split /usr/bin/ssss-combine |
57 |
+ |
58 |
+ doman ssss.1 |
59 |
+ |
60 |
+ einstalldocs |
61 |
+} |