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.

50 lines
1.3 KiB

  1. #
  2. # Copyright (C) 2017 Daniel Engberg <daniel.engberg.lists@pyret.net>
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=inadyn
  9. PKG_VERSION=2.2
  10. PKG_RELEASE:=1
  11. PKG_MAINTAINER:=Daniel Engberg <daniel.engberg.lists@pyret.net>
  12. PKG_LICENSE:=GPL-2.0
  13. PKG_LICENSE_FILES:=COPYING
  14. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  15. PKG_SOURCE_URL:=https://github.com/troglobit/inadyn/releases/download/v$(PKG_VERSION)
  16. PKG_HASH:=27aed84a3d04591540b01ef91a5af4b02cbd0e0c20db36a2660453780bd645f6
  17. PKG_FIXUP:=autoreconf
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/inadyn
  20. SECTION:=net
  21. CATEGORY:=Network
  22. DEPENDS:=+confuse +libopenssl +ca-certificates
  23. TITLE:=A Dynamic DNS client with SSL/TLS support
  24. URL:=https://github.com/troglobit/inadyn
  25. SUBMENU:=IP Addresses and Names
  26. endef
  27. define Package/inadyn/description
  28. Suitable for embedded systems, written in C.
  29. endef
  30. define Package/inadyn/conffiles
  31. /etc/inadyn.conf
  32. endef
  33. CONFIGURE_ARGS += --enable-shared --disable-static --enable-openssl
  34. define Package/inadyn/install
  35. $(INSTALL_DIR) $(1)/etc
  36. $(INSTALL_DIR) $(1)/usr/sbin
  37. $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/inadyn $(1)/usr/sbin/
  38. endef
  39. $(eval $(call BuildPackage,inadyn))