-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Vasily Evseenko <[email protected]>
- Loading branch information
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)) |