1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-20 15:48:40 +02:00
openwrt-packages/net/inadyn/Makefile
Rosen Penev dd41da3403 inadyn: Update to 2.5
Makefile cleanups.

Added PKG_BUILD_PARALLEL for faster compilation.

Added PKG_INSTALL.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-06 22:43:32 -07:00

59 lines
1.3 KiB
Makefile

#
# Copyright (C) 2017-2018 Daniel Engberg <daniel.engberg.lists@pyret.net>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=inadyn
PKG_VERSION:=2.5
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://github.com/troglobit/inadyn/releases/download/v$(PKG_VERSION)
PKG_HASH:=4a9ad208671f62912428413da0282450b2d2c4da38f3c95c4ac975d048c41fcd
PKG_MAINTAINER:=
PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=COPYING
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
define Package/inadyn
SECTION:=net
CATEGORY:=Network
DEPENDS:=+confuse +libopenssl +ca-certificates
TITLE:=A Dynamic DNS client with SSL/TLS support
URL:=http://troglobit.com/project/inadyn/
SUBMENU:=IP Addresses and Names
endef
define Package/inadyn/description
Inadyn is a small and simple Dynamic DNS, DDNS, client with HTTPS support
endef
define Package/inadyn/conffiles
/etc/inadyn.conf
endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \
--enable-shared \
--disable-static \
--enable-openssl \
--without-pic
define Package/inadyn/install
$(INSTALL_DIR) $(1)/etc
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/inadyn $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,inadyn))