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.

54 lines
1.4 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=2017-02-02
  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_PROTO:=git
  15. PKG_SOURCE_URL:=https://github.com/troglobit/inadyn
  16. PKG_SOURCE_SUBDIR=$(PKG_NAME)-$(PKG_VERSION)
  17. PKG_SOURCE_VERSION:=3b9ae1c22f96194232cc86ded33af9e0a1602af2
  18. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  19. PKG_MIRROR_HASH:=9db6cd8d2b421d8bc61d4ae60c8215a86d73657746a1b06d79f4fbfd79734f6e
  20. PKG_FIXUP:=autoreconf
  21. include $(INCLUDE_DIR)/package.mk
  22. define Package/inadyn
  23. SECTION:=net
  24. CATEGORY:=Network
  25. DEPENDS:=+confuse +libopenssl +ca-certificates
  26. TITLE:=A Dynamic DNS client with SSL/TLS support
  27. URL:=https://github.com/troglobit/inadyn
  28. SUBMENU:=IP Addresses and Names
  29. endef
  30. define Package/inadyn/description
  31. Suitable for embedded systems, written in C.
  32. endef
  33. define Package/inadyn/conffiles
  34. /etc/inadyn.conf
  35. endef
  36. CONFIGURE_ARGS += --enable-shared --disable-static --enable-openssl
  37. define Package/inadyn/install
  38. $(INSTALL_DIR) $(1)/etc
  39. $(INSTALL_DATA) $(PKG_BUILD_DIR)/examples/dyndns.conf $(1)/etc/inadyn.conf
  40. $(INSTALL_DIR) $(1)/usr/sbin
  41. $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/inadyn $(1)/usr/sbin/
  42. endef
  43. $(eval $(call BuildPackage,inadyn))