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.

46 lines
887 B

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