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-02-06
  5. PKG_SOURCE_VERSION:=6aebb75cec17ced49bd8a5ea0d187349a5761644
  6. PKG_RELEASE:=1
  7. PKG_SOURCE_PROTO:=git
  8. PKG_SOURCE_URL=https://git.openwrt.org/project/usteer.git
  9. PKG_MIRROR_HASH:=d6df16b3ac5f1deec22a4dfb55c3977b126952b55dd4e90357f941ee9df741b3
  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))