1 # SPDX-Identifier-License: GPL-3.0-or-later
3 # Copyright (C) 2023 by Vitalii Koshura <lestat.de.lionkur@gmail.com>
6 include $(TOPDIR
)/rules.mk
8 PKG_NAME
:=boinc-wrapper
12 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
13 PKG_SOURCE_URL
:=https
://codeload.github.com
/BOINC
/boinc
/tar.gz
/refs
/tags/wrapper
/$(PKG_VERSION
)?
14 PKG_HASH
:=a93ae0a9e640a893e78f523c6d93f31b1d5812092f85af4e9ce964846373f55d
16 PKG_MAINTAINER
:=Vitalii Koshura
<lestat.de.lionkur@gmail.com
>
17 PKG_LICENSE
:=GPL-3.0
-or-later
18 PKG_LICENSE_FILES
:=COPYING
19 PKG_CPE_ID
:=cpe
:/a
:boinc-wrapper
:boinc-wrapper
25 include $(INCLUDE_DIR
)/package.mk
26 include $(INCLUDE_DIR
)/target.mk
28 define Package
/boinc-wrapper
33 URL
:=https
://github.com
/BOINC
/boinc
/
36 define Package
/boinc-wrapper
/description
37 The Berkeley Open Infrastructure for Network Computing
(BOINC
) is a
38 software platform for distributed computing
: several initiatives of
39 various scientific disciplines
all compete for the idle time of
40 desktop computers. The developers
' web site at the University of
41 Berkeley serves as a common portal to the otherwise independently run
44 This package provides the BOINC wrapper that runs the Project applications as
45 subprocesses, and handles all communication with the BOINC client
46 (e.g., to report CPU time and fraction done).
50 --disable-server --disable-manager --disable-client --enable-libraries \
52 --with-boinc-platform=$(REAL_GNU_TARGET_NAME) \
53 --with-boinc-alt-platform=$(ARCH)-$(BOARD)-$(DEVICE_TYPE)-openwrt-$(TARGET_SUFFIX)
55 TARGET_CFLAGS += -Wno-format -Wno-format-security
56 TARGET_CPPFLAGS += -Wno-format -Wno-format-security
59 $(call Build/Compile/Default)
60 $(MAKE_VARS) $(MAKE) \
61 -C $(PKG_BUILD_DIR)/samples/wrapper \
65 define Package/boinc-wrapper/install
66 $(INSTALL_DIR) $(1)/usr/bin
67 $(INSTALL_BIN) $(PKG_BUILD_DIR)/samples/wrapper/wrapper $(1)/usr/bin/boinc-wrapper
70 $(eval $(call BuildPackage,boinc-wrapper))