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.

45 lines
866 B

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=ddns-scripts
  3. PKG_VERSION:=1.0.0
  4. PKG_RELEASE:=23
  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. MAINTAINER:=Christian Schoenebeck <christian.schoenebeck@gmail.com>
  14. endef
  15. define Package/ddns-scripts/description
  16. A highly configurable set of scripts for doing
  17. dynamic dns updates
  18. endef
  19. define Build/Prepare
  20. endef
  21. define Build/Configure
  22. endef
  23. define Build/Compile
  24. endef
  25. define Package/ddns-scripts/conffiles
  26. /etc/config/ddns
  27. endef
  28. define Package/ddns-scripts/install
  29. $(INSTALL_DIR) $(1)
  30. $(CP) ./files/* $(1)/
  31. $(INSTALL_DIR) $(1)/etc/init.d
  32. $(INSTALL_BIN) ./files/etc/init.d/ddns $(1)/etc/init.d/
  33. endef
  34. $(eval $(call BuildPackage,ddns-scripts))