Skip to content

Commit

Permalink
wfb-ng: Add wfb-ng package
Browse files Browse the repository at this point in the history
Signed-off-by: Vasily Evseenko <[email protected]>
  • Loading branch information
svpcom committed Sep 15, 2024
1 parent f73bf31 commit 5cff0bf
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions net/wfb-ng/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=wfb-ng
PKG_VERSION:=24.9.1
PKG_RELEASE:=1
PKG_LICENSE:=GPL-3.0
PKG_LICENSE_FILES:=LICENSE

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/svpcom/wfb-ng
PKG_SOURCE_VERSION:=a41cd378e7e23dd094d6c50f26c4faa8e64e5954
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)

PKG_BUILD_PARALLEL:=1
PKG_MAINTAINER:=Vasily Evseenko <[email protected]>

include $(INCLUDE_DIR)/package.mk

define Build/Compile
$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/$(MAKE_PATH) \
$(MAKE_FLAGS) \
VERSION=$(PKG_VERSION) COMMIT=$(PKG_SOURCE_VERSION) \
all_bin
endef

define Package/wfb-ng
SECTION:=net
CATEGORY:=Network
DEPENDS:=+libpcap +libsodium +libstdcpp
TITLE:=Long-range packet radio link using raw WiFi
URL:=https://github.com/svpcom/wfb-ng
SUBMENU:=Wireless
endef

define Package/wfb-ng/description
The next generation of long-range packet radio link using raw WiFi
endef

define Package/wfb-ng/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/wfb_rx $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/wfb_tx $(1)/usr/bin/
endef

$(eval $(call BuildPackage,wfb-ng))

0 comments on commit 5cff0bf

Please sign in to comment.