mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
sci-misc/boinc-wrapper: initial import
Signed-off-by: Anna Vyalkova <cyber@sysrq.in>
This commit is contained in:
1
sci-misc/boinc-wrapper/Manifest
Normal file
1
sci-misc/boinc-wrapper/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST boinc-7.16.16.tar.gz 49599131 BLAKE2B 819ab85c19a684144711f77e669b892aa73c006b81c1d7ef7adbd9d580e1e8473ae27b52dc17953ee677c70fc78ed15df936afd740e629715f30f2b81d84ea6f SHA512 dd7042e176d6506c70de7866556ae73b2f45734df92038086d5b0414751f3da08dc571c49f0c26d747d3fb2577674d3ff8cdec7d3563861eaaaa5af9c1db0a0e
|
||||
50
sci-misc/boinc-wrapper/boinc-wrapper-7.16.16.ebuild
Normal file
50
sci-misc/boinc-wrapper/boinc-wrapper-7.16.16.ebuild
Normal file
@@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools toolchain-funcs
|
||||
|
||||
MY_PV=$(ver_cut 1-2)
|
||||
|
||||
DESCRIPTION="use non-BOINC apps with BOINC"
|
||||
HOMEPAGE="https://boinc.berkeley.edu/trac/wiki/WrapperApp"
|
||||
|
||||
SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> boinc-${PV}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
S="${WORKDIR}/boinc-client_release-${MY_PV}-${PV}/samples/wrapper"
|
||||
|
||||
LICENSE="LGPL-3+ regexp-UofT"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
~sci-misc/boinc-${PV}
|
||||
~dev-libs/boinc-zip-${PV}
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/makefile.patch )
|
||||
DOCS=( ReadMe.txt job.xml )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
cd ../.. || die
|
||||
eautoreconf
|
||||
bash ./generate_svn_version.sh || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cd ../.. || die
|
||||
econf --enable-pkg-devel --disable-static
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC CXX
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
newbin wrapper boinc-wrapper
|
||||
}
|
||||
10
sci-misc/boinc-wrapper/files/makefile.patch
Normal file
10
sci-misc/boinc-wrapper/files/makefile.patch
Normal file
@@ -0,0 +1,10 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -41,5 +41,5 @@
|
||||
regexp_memory.o \
|
||||
regexp_report.o
|
||||
|
||||
-wrapper: wrapper.o libstdc++.a $(BOINC_LIB_DIR)/libboinc.a $(BOINC_API_DIR)/libboinc_api.a $(REGEXP_OBJS)
|
||||
- $(CXX) $(CXXFLAGS) $(CPPFLAGS) -o wrapper wrapper.o $(REGEXP_OBJS) libstdc++.a $(PTHREAD) -lboinc_api -lboinc -lboinc_zip
|
||||
+wrapper: wrapper.o $(REGEXP_OBJS)
|
||||
+ $(CXX) $(CXXFLAGS) $(CPPFLAGS) -o wrapper wrapper.o $(REGEXP_OBJS) $(PTHREAD) -lboinc_api -lboinc -lboinc_zip
|
||||
11
sci-misc/boinc-wrapper/metadata.xml
Normal file
11
sci-misc/boinc-wrapper/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">BOINC/boinc</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user