summaryrefslogtreecommitdiffstats
path: root/package/inadyn/inadyn.mk
blob: 12f8acca283f671e0820092636581f6de0b453ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
################################################################################
#
# inadyn
#
################################################################################

INADYN_VERSION = 1.98.1
INADYN_SOURCE = inadyn-$(INADYN_VERSION).tar.bz2
INADYN_SITE = https://github.com/downloads/troglobit/inadyn
INADYN_LICENSE = GPLv2+
INADYN_LICENSE_FILES = COPYING LICENSE

define INADYN_BUILD_CMDS
	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
endef

define INADYN_INSTALL_TARGET_CMDS
	$(INSTALL) -D -m 0755 $(@D)/src/inadyn $(TARGET_DIR)/usr/sbin/inadyn
	$(INSTALL) -D -m 0644 package/inadyn/inadyn.conf \
		$(TARGET_DIR)/etc/inadyn.conf
	$(INSTALL) -D -m 0755 package/inadyn/S70inadyn \
		$(TARGET_DIR)/etc/init.d/S70inadyn
endef

$(eval $(generic-package))