1 |
commit: f39fafa2e2bea2f49382d52411d96ca321036d42 |
2 |
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Thu Jul 22 08:15:34 2021 +0000 |
4 |
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
5 |
CommitDate: Thu Jul 22 08:27:40 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f39fafa2 |
7 |
|
8 |
sci-misc/boinc-wrapper: revbump (new eclass) |
9 |
|
10 |
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
11 |
|
12 |
.../boinc-wrapper/boinc-wrapper-7.16.17-r1.ebuild | 35 ++++++++++++++++++++++ |
13 |
sci-misc/boinc-wrapper/files/config.override.h | 8 +++++ |
14 |
2 files changed, 43 insertions(+) |
15 |
|
16 |
diff --git a/sci-misc/boinc-wrapper/boinc-wrapper-7.16.17-r1.ebuild b/sci-misc/boinc-wrapper/boinc-wrapper-7.16.17-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 000000000..91ccc4e18 |
19 |
--- /dev/null |
20 |
+++ b/sci-misc/boinc-wrapper/boinc-wrapper-7.16.17-r1.ebuild |
21 |
@@ -0,0 +1,35 @@ |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=8 |
26 |
+ |
27 |
+BOINC_SUBMODULE="samples/wrapper" |
28 |
+inherit boinc |
29 |
+ |
30 |
+DESCRIPTION="Wrapper to use non-BOINC apps with BOINC" |
31 |
+HOMEPAGE="https://boinc.berkeley.edu/trac/wiki/WrapperApp" |
32 |
+ |
33 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
34 |
+LICENSE="LGPL-3+ regexp-UofT" |
35 |
+SLOT="0" |
36 |
+ |
37 |
+# sci-misc/boinc doesn't have all necessary headers, so |
38 |
+# we have to include from build root. All that said, |
39 |
+# versions must not mismatch. |
40 |
+RDEPEND=" |
41 |
+ ~sci-misc/boinc-${PV} |
42 |
+ >=dev-libs/boinc-zip-${PV} |
43 |
+" |
44 |
+DEPEND="${RDEPEND}" |
45 |
+ |
46 |
+PATCHES=( "${FILESDIR}"/${PN}-$(ver_cut 1-2)-makefile.patch ) |
47 |
+DOCS=( job.xml ) |
48 |
+ |
49 |
+boinc_require_source |
50 |
+ |
51 |
+boinc_override_config "${FILESDIR}"/config.override.h |
52 |
+ |
53 |
+src_install() { |
54 |
+ einstalldocs |
55 |
+ newbin wrapper boinc-wrapper |
56 |
+} |
57 |
|
58 |
diff --git a/sci-misc/boinc-wrapper/files/config.override.h b/sci-misc/boinc-wrapper/files/config.override.h |
59 |
new file mode 100644 |
60 |
index 000000000..bd1c1b892 |
61 |
--- /dev/null |
62 |
+++ b/sci-misc/boinc-wrapper/files/config.override.h |
63 |
@@ -0,0 +1,8 @@ |
64 |
+#ifndef BOINC_CONFIG_H |
65 |
+#define BOINC_CONFIG_H |
66 |
+ |
67 |
+#define HAVE_SYS_RESOURCE_H 1 |
68 |
+#define HAVE_SYS_TIME_H 1 |
69 |
+#define HAVE_SYS_WAIT_H 1 |
70 |
+ |
71 |
+#endif |