banip: release 0.9.6-1
[feed/packages.git] / net / inadyn / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=inadyn
11 PKG_VERSION:=2.11.0
12 PKG_RELEASE:=1
13
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:=9c8b2a425acb9681564e9fc25a319f2109c7d2ebe1ffe99b06d4a722efb6ecba
17
18 PKG_MAINTAINER:=
19 PKG_LICENSE:=GPL-2.0-or-later
20 PKG_LICENSE_FILES:=COPYING
21
22 PKG_INSTALL:=1
23 PKG_BUILD_PARALLEL:=1
24
25 include $(INCLUDE_DIR)/package.mk
26
27 define Package/inadyn
28 SECTION:=net
29 CATEGORY:=Network
30 DEPENDS:=+confuse +libopenssl +ca-certificates
31 TITLE:=A Dynamic DNS client with SSL/TLS support
32 URL:=http://troglobit.com/project/inadyn/
33 SUBMENU:=IP Addresses and Names
34 endef
35
36 define Package/inadyn/description
37 Inadyn is a small and simple Dynamic DNS, DDNS, client with HTTPS support
38 endef
39
40 define Package/inadyn/conffiles
41 /etc/inadyn.conf
42 endef
43
44 CONFIGURE_ARGS += \
45 --enable-shared \
46 --disable-static \
47 --enable-openssl \
48 --with-pic
49
50 define Package/inadyn/install
51 $(INSTALL_DIR) $(1)/usr/sbin
52 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/inadyn $(1)/usr/sbin/
53 endef
54
55 $(eval $(call BuildPackage,inadyn))