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-19
  5. PKG_SOURCE_VERSION:=98247d1edab89603d1d27bfdd2d864b9b88b0872
  6. PKG_RELEASE:=1
  7. PKG_SOURCE_PROTO:=git
  8. PKG_SOURCE_URL=https://git.openwrt.org/project/usteer.git
  9. PKG_MIRROR_HASH:=c9594c019d2722f5e4ffe23267834897dc44195381a4fd19d1e2d2dc09272fbc
  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))