mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 11:04:10 -04:00
sci-misc/boinc-wrapper: use system libboinc
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
40
sci-misc/boinc-wrapper/boinc-wrapper-7.20.2-r1.ebuild
Normal file
40
sci-misc/boinc-wrapper/boinc-wrapper-7.20.2-r1.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2022 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"
|
||||
|
||||
RDEPEND="
|
||||
>=sci-misc/boinc-7.20
|
||||
>=dev-libs/boinc-zip-7.20
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( job.xml )
|
||||
|
||||
boinc_require_source
|
||||
|
||||
boinc_override_config "${FILESDIR}"/config.override.h
|
||||
|
||||
src_prepare() {
|
||||
boinc_src_prepare
|
||||
cp "${FILESDIR}"/Makefile.gentoo "${S}" || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -f Makefile.gentoo
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
dobin boinc-wrapper
|
||||
}
|
||||
17
sci-misc/boinc-wrapper/files/Makefile.gentoo
Normal file
17
sci-misc/boinc-wrapper/files/Makefile.gentoo
Normal file
@@ -0,0 +1,17 @@
|
||||
PKGS = \
|
||||
libboinc \
|
||||
libboinc_api \
|
||||
libboinc_zip
|
||||
|
||||
REGEXP_OBJS = \
|
||||
regexp.o \
|
||||
regsub.o \
|
||||
regerror.o \
|
||||
regexp_memory.o \
|
||||
regexp_report.o
|
||||
|
||||
CXXFLAGS += $(shell pkg-config --cflags $(PKGS)) -I../..
|
||||
LIBS += $(shell pkg-config --libs $(PKGS))
|
||||
|
||||
boinc-wrapper: wrapper.o $(REGEXP_OBJS)
|
||||
$(CXX) $(CXXFLAGS) $(CPPFLAGS) -o $@ $^ $(LIBS) $(LDFLAGS)
|
||||
Reference in New Issue
Block a user