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:=2021-09-21
  5. PKG_SOURCE_VERSION:=fc1fadf5eb7684db952e72558f26dffbf3c4dfda
  6. PKG_RELEASE:=1
  7. PKG_SOURCE_PROTO:=git
  8. PKG_SOURCE_URL=https://git.openwrt.org/project/usteer.git
  9. PKG_MIRROR_HASH:=9bcd496a3416d2c805eff37df36b6a0564db6f40d44d7c0070962f01ee1d55d2
  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))