1
0

Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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.3
  10. PKG_RELEASE:=1
  11. PKG_MAINTAINER:=
  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:=4a98b80d8565b9e4cb32b19b7a8b06a22a7d9a6f4f03a5298a8d441b6187c760
  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:=http://troglobit.com/project/inadyn/
  25. SUBMENU:=IP Addresses and Names
  26. endef
  27. define Package/inadyn/description
  28. Inadyn is a small and simple Dynamic DNS, DDNS, client with HTTPS support
  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))