sci-misc/boinc-wrapper - 26018 (guru)

Search

Install

Install this version:

emerge -a =sci-misc/boinc-wrapper-26018

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sci-misc/boinc-wrapper-26018

Or alternatively:

emerge --autounmask-write -a =sci-misc/boinc-wrapper-26018

Package Information

Description:
Wrapper to use non-BOINC apps with BOINC
Homepage:
https://boinc.berkeley.edu/trac/wiki/WrapperApp
License:
Info-ZIP LGPL-3+ regexp-UofT

Ebuild Details

Version EAPI Keywords Slot
26018 8 ~amd64 ~arm64 ~x86 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools edo

DESCRIPTION="Wrapper to use non-BOINC apps with BOINC"
HOMEPAGE="https://boinc.berkeley.edu/trac/wiki/WrapperApp"
SRC_URI="https://github.com/BOINC/boinc/archive/refs/tags/wrapper/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="Info-ZIP LGPL-3+ regexp-UofT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"

DOCS=( job.xml )

PATCHES=(
	"${FILESDIR}"/${PN}-26018-makefile.patch
	"${FILESDIR}"/${PN}-26018-sigstop.patch
)

QA_CONFIG_IMPL_DECL_SKIP=(
	# https://bugs.gentoo.org/922046
	"_mm*"
)

src_prepare() {
	default
	eautoreconf
}

src_configure() {
	edo bash generate_svn_version.sh

	local myeconfargs=(
		# build libraries only
		--enable-pkg-devel
		--disable-fcgi

		# link with libboinc_api statically
		--disable-shared
		--enable-static

		# do not build libboinc_graphics
		--without-x
		ax_cv_check_gl_libgl=no
	)
	econf "${myeconfargs[@]}"
}

src_compile() {
	emake
	emake -C samples/wrapper MAKEFILE_LDFLAGS="-lpthread" MAKEFILE_STDLIB=
}

src_install() {
	cd samples/wrapper || die

	einstalldocs
	newbin wrapper boinc-wrapper
}

Inherited Eclasses

edo

Manifest for 26018

Type File Size Source URLs
DIST boinc-wrapper-26018.tar.gz 46563463 bytes https://github.com/BOINC/boinc/archive/refs/tags/wrapper/26018.tar.gz