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.

41 lines
1.0 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=uradvd
  3. PKG_RELEASE:=$(AUTORELEASE)
  4. PKG_SOURCE_PROTO:=git
  5. PKG_SOURCE_URL=https://github.com/freifunk-gluon/uradvd.git
  6. PKG_SOURCE_DATE:=2021-09-14
  7. PKG_SOURCE_VERSION:=9b0da60e27c67305d251b10163e388191d566d7a
  8. PKG_MIRROR_HASH=c3c9cb5d3a7b30503bff64541bbcaffa84b33e0de39560a5efae077df4e9b134
  9. PKG_MAINTAINER:=Moritz Warning <moritzwarning@web.de>
  10. PKG_LICENSE:=BSD-2-Clause
  11. PKG_LICENSE_FILES:=LICENSE
  12. include $(INCLUDE_DIR)/package.mk
  13. define Package/uradvd
  14. SECTION:=net
  15. CATEGORY:=Network
  16. TITLE:=A tiny radvd
  17. endef
  18. define Package/uradvd/description
  19. Advertise an IPv6 prefix/route via SLAAC.
  20. endef
  21. define Package/uradvd/install
  22. $(INSTALL_DIR) $(1)/etc/config/
  23. $(INSTALL_DATA) ./files/uradvd.config $(1)/etc/config/uradvd
  24. $(INSTALL_DIR) $(1)/etc/init.d/
  25. $(INSTALL_BIN) ./files/uradvd.init $(1)/etc/init.d/uradvd
  26. $(INSTALL_DIR) $(1)/usr/sbin
  27. $(INSTALL_BIN) $(PKG_BUILD_DIR)/uradvd $(1)/usr/sbin/
  28. endef
  29. define Package/uradvd/conffiles
  30. /etc/config/uradvd
  31. endef
  32. $(eval $(call BuildPackage,uradvd))