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.

44 lines
797 B

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=ddns-scripts
  3. PKG_VERSION:=1.0.0
  4. PKG_RELEASE:=22
  5. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  6. include $(INCLUDE_DIR)/package.mk
  7. define Package/ddns-scripts
  8. SECTION:=net
  9. CATEGORY:=Network
  10. SUBMENU:=IP Addresses and Names
  11. TITLE:=Dynamic DNS Scripts
  12. PKGARCH:=all
  13. endef
  14. define Package/ddns-scripts/description
  15. A highly configurable set of scripts for doing
  16. dynamic dns updates
  17. endef
  18. define Build/Prepare
  19. endef
  20. define Build/Configure
  21. endef
  22. define Build/Compile
  23. endef
  24. define Package/ddns-scripts/conffiles
  25. /etc/config/ddns
  26. endef
  27. define Package/ddns-scripts/install
  28. $(INSTALL_DIR) $(1)
  29. $(CP) ./files/* $(1)/
  30. $(INSTALL_DIR) $(1)/etc/init.d
  31. $(INSTALL_BIN) ./files/etc/init.d/ddns $(1)/etc/init.d/
  32. endef
  33. $(eval $(call BuildPackage,ddns-scripts))