You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.1 KiB

  1. # SPDX-License-Identifier: GPL-2.0-only
  2. include $(TOPDIR)/rules.mk
  3. PKG_NAME:=usteer
  4. PKG_SOURCE_DATE:=2022-05-05
  5. PKG_SOURCE_VERSION:=46539ae5b424163d09aab9c89b0359ad4cb74a9f
  6. PKG_RELEASE:=1
  7. PKG_SOURCE_PROTO:=git
  8. PKG_SOURCE_URL=https://git.openwrt.org/project/usteer.git
  9. PKG_MIRROR_HASH:=4f9fb752827e17ef6ece8e2629236f6ff162700dbae14303c7fe1f9ab57a044b
  10. PKG_MAINTAINER:=David Bauer <mail@david-bauer.net>
  11. PKG_LICENSE:=GPL-2.0-only
  12. PKG_BUILD_DEPENDS:=libpcap
  13. include $(INCLUDE_DIR)/package.mk
  14. include $(INCLUDE_DIR)/cmake.mk
  15. define Package/usteer
  16. SECTION:=net
  17. CATEGORY:=Network
  18. DEPENDS:=+libubox +libubus +libblobmsg-json +libnl-tiny
  19. TITLE:=OpenWrt AP roaming assist daemon
  20. endef
  21. define Package/usteer/conffiles
  22. /etc/config/usteer
  23. endef
  24. define Package/usteer/install
  25. $(INSTALL_DIR) $(1)/sbin $(1)/etc/init.d $(1)/etc/config
  26. $(CP) $(PKG_BUILD_DIR)/openwrt/usteer/files/etc/config/usteer $(1)/etc/config/usteer
  27. $(INSTALL_BIN) $(PKG_BUILD_DIR)/openwrt/usteer/files/etc/init.d/usteer $(1)/etc/init.d/usteer
  28. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/usteerd $(1)/sbin/usteerd
  29. endef
  30. $(eval $(call BuildPackage,usteer))