Makefile (1467B)
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 8 include $(TOPDIR)/rules.mk 9 10 PKG_NAME:=inadyn 11 PKG_VERSION=2017-02-02 12 PKG_RELEASE:=1 13 PKG_MAINTAINER:=Daniel Engberg <daniel.engberg.lists@pyret.net> 14 PKG_LICENSE:=GPL-2.0 15 PKG_LICENSE_FILES:=COPYING 16 17 PKG_SOURCE_PROTO:=git 18 PKG_SOURCE_URL=https://github.com/troglobit/inadyn 19 PKG_SOURCE_SUBDIR=$(PKG_NAME)-$(PKG_VERSION) 20 PKG_SOURCE_VERSION:=3b9ae1c22f96194232cc86ded33af9e0a1602af2 21 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz 22 PKG_MIRROR_HASH:=9db6cd8d2b421d8bc61d4ae60c8215a86d73657746a1b06d79f4fbfd79734f6e 23 24 PKG_FIXUP:=autoreconf 25 26 include $(INCLUDE_DIR)/package.mk 27 28 define Package/inadyn 29 SECTION:=net 30 CATEGORY:=Network 31 DEPENDS:=+confuse +libopenssl +ca-certificates 32 TITLE:=A Dynamic DNS client with SSL/TLS support 33 URL:=https://github.com/troglobit/inadyn 34 SUBMENU:=IP Addresses and Names 35 endef 36 37 define Package/inadyn/description 38 Suitable for embedded systems, written in C. 39 endef 40 41 define Package/inadyn/conffiles 42 /etc/inadyn.conf 43 endef 44 45 CONFIGURE_ARGS += --enable-shared --disable-static --enable-openssl 46 47 define Package/inadyn/install 48 $(INSTALL_DIR) $(1)/etc 49 $(INSTALL_DATA) $(PKG_BUILD_DIR)/examples/dyndns.conf $(1)/etc/inadyn.conf 50 $(INSTALL_DIR) $(1)/usr/sbin 51 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/inadyn $(1)/usr/sbin/ 52 endef 53 54 $(eval $(call BuildPackage,inadyn))