mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
sci-misc/boinc-wrapper: revbump (new eclass)
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
35
sci-misc/boinc-wrapper/boinc-wrapper-7.16.17-r1.ebuild
Normal file
35
sci-misc/boinc-wrapper/boinc-wrapper-7.16.17-r1.ebuild
Normal file
@@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
BOINC_SUBMODULE="samples/wrapper"
|
||||
inherit boinc
|
||||
|
||||
DESCRIPTION="Wrapper to use non-BOINC apps with BOINC"
|
||||
HOMEPAGE="https://boinc.berkeley.edu/trac/wiki/WrapperApp"
|
||||
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
LICENSE="LGPL-3+ regexp-UofT"
|
||||
SLOT="0"
|
||||
|
||||
# sci-misc/boinc doesn't have all necessary headers, so
|
||||
# we have to include from build root. All that said,
|
||||
# versions must not mismatch.
|
||||
RDEPEND="
|
||||
~sci-misc/boinc-${PV}
|
||||
>=dev-libs/boinc-zip-${PV}
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-$(ver_cut 1-2)-makefile.patch )
|
||||
DOCS=( job.xml )
|
||||
|
||||
boinc_require_source
|
||||
|
||||
boinc_override_config "${FILESDIR}"/config.override.h
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
newbin wrapper boinc-wrapper
|
||||
}
|
||||
8
sci-misc/boinc-wrapper/files/config.override.h
Normal file
8
sci-misc/boinc-wrapper/files/config.override.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef BOINC_CONFIG_H
|
||||
#define BOINC_CONFIG_H
|
||||
|
||||
#define HAVE_SYS_RESOURCE_H 1
|
||||
#define HAVE_SYS_TIME_H 1
|
||||
#define HAVE_SYS_WAIT_H 1
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user