Files
packages/net/bsbf-resources/Makefile
T
Chester A. Unal 98a02be97b bsbf-resources: update to GIT HEAD of 2026-03-09
Update bsbf-resources to the GIT HEAD of 2026-03-09.

Signed-off-by: Chester A. Unal <chester.a.unal@arinc9.com>
2026-03-10 09:50:28 +02:00

105 lines
2.8 KiB
Makefile

# SPDX-License-Identifier: AGPL-3.0-or-later
# Copyright (C) 2025-2026 Chester A. Unal <chester.a.unal@arinc9.com>
include $(TOPDIR)/rules.mk
PKG_NAME:=bsbf-resources
PKG_RELEASE:=1
PKG_LICENSE:=AGPL-3.0-or-later
PKG_MAINTAINER:=Chester A. Unal <chester.a.unal@arinc9.com>
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/bondingshouldbefree/bsbf-resources.git
PKG_SOURCE_DATE:=2026-03-09
PKG_SOURCE_VERSION:=4d8b5138a44d4df21b42f0e2c694c50b10b50173
PKG_MIRROR_HASH:=de7645897e1cfbc8c50afc81e6a6942aec2bf65d19a62cfd18a24e93ad5f4030
include $(INCLUDE_DIR)/package.mk
define Package/bsbf-mptcp
SECTION:=net
CATEGORY:=Network
TITLE:=bsbf-mptcp
DEPENDS:=+fping +ip-full
endef
define Package/bsbf-netspeed
SECTION:=net
CATEGORY:=Network
TITLE:=bsbf-netspeed
endef
define Package/bsbf-quectel-usbnet
SECTION:=net
CATEGORY:=Network
TITLE:=bsbf-quectel-usbnet
endef
define Package/bsbf-route
SECTION:=net
CATEGORY:=Network
TITLE:=bsbf-route
DEPENDS:=+fping
endef
define Package/bsbf-tcp-in-udp
SECTION:=net
CATEGORY:=Network
TITLE:=bsbf-tcp-in-udp
DEPENDS:=+ethtool +tc-full +tcp-in-udp
endef
define Build/Compile
endef
define Package/bsbf-mptcp/install
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/etc/config/bsbf-mptcp $(1)/etc/config
$(INSTALL_DIR) $(1)/etc/hotplug.d/iface
$(INSTALL_BIN) ./files/etc/hotplug.d/iface/99-bsbf-mptcp $(1)/etc/hotplug.d/iface
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/etc/init.d/bsbf-mptcp $(1)/etc/init.d
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/resources-client/bsbf-mptcp $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/resources-client/bsbf-mptcp-helper $(1)/usr/sbin
endef
define Package/bsbf-netspeed/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/resources-client/bsbf-netspeed $(1)/usr/sbin
endef
define Package/bsbf-quectel-usbnet/install
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/etc/init.d/bsbf-quectel-usbnet $(1)/etc/init.d
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/resources-client/bsbf-quectel-usbnet $(1)/usr/sbin
endef
define Package/bsbf-route/install
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/etc/init.d/bsbf-route $(1)/etc/init.d
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/resources-client/bsbf-route $(1)/usr/sbin
endef
define Package/bsbf-tcp-in-udp/install
$(INSTALL_DIR) $(1)/etc/hotplug.d/iface
$(INSTALL_BIN) ./files/etc/hotplug.d/iface/99-bsbf-tcp-in-udp $(1)/etc/hotplug.d/iface
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/resources-client/bsbf-tcp-in-udp $(1)/usr/sbin
endef
$(eval $(call BuildPackage,bsbf-mptcp))
$(eval $(call BuildPackage,bsbf-netspeed))
$(eval $(call BuildPackage,bsbf-quectel-usbnet))
$(eval $(call BuildPackage,bsbf-route))
$(eval $(call BuildPackage,bsbf-tcp-in-udp))