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-08-18
  5. PKG_SOURCE_VERSION:=7d2b17c91baf67419c0ce63dc6c65a7659ab6a5c
  6. PKG_RELEASE:=1
  7. PKG_SOURCE_PROTO:=git
  8. PKG_SOURCE_URL=https://git.openwrt.org/project/usteer.git
  9. PKG_MIRROR_HASH:=b15e1c4ef3fe2322e481f4913d736500cee890cef5592bae106a4025004bd27e
  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))