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.

58 lines
1.3 KiB

  1. #
  2. # Copyright (C) 2017-2018 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.5
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  12. PKG_SOURCE_URL:=https://github.com/troglobit/inadyn/releases/download/v$(PKG_VERSION)
  13. PKG_HASH:=4a9ad208671f62912428413da0282450b2d2c4da38f3c95c4ac975d048c41fcd
  14. PKG_MAINTAINER:=
  15. PKG_LICENSE:=GPL-2.0
  16. PKG_LICENSE_FILES:=COPYING
  17. PKG_INSTALL:=1
  18. PKG_BUILD_PARALLEL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/inadyn
  21. SECTION:=net
  22. CATEGORY:=Network
  23. DEPENDS:=+confuse +libopenssl +ca-certificates
  24. TITLE:=A Dynamic DNS client with SSL/TLS support
  25. URL:=http://troglobit.com/project/inadyn/
  26. SUBMENU:=IP Addresses and Names
  27. endef
  28. define Package/inadyn/description
  29. Inadyn is a small and simple Dynamic DNS, DDNS, client with HTTPS support
  30. endef
  31. define Package/inadyn/conffiles
  32. /etc/inadyn.conf
  33. endef
  34. TARGET_CFLAGS += $(FPIC)
  35. CONFIGURE_ARGS += \
  36. --enable-shared \
  37. --disable-static \
  38. --enable-openssl \
  39. --without-pic
  40. define Package/inadyn/install
  41. $(INSTALL_DIR) $(1)/etc
  42. $(INSTALL_DIR) $(1)/usr/sbin
  43. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/inadyn $(1)/usr/sbin/
  44. endef
  45. $(eval $(call BuildPackage,inadyn))