kumquat-buildroot/package/inadyn/inadyn.mk
Gustavo Zacarias 41398fa8d9 inadyn: bump to version 1.99.9
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-22 11:11:17 +02:00

37 lines
946 B
Makefile

################################################################################
#
# inadyn
#
################################################################################
INADYN_VERSION = 1.99.9
INADYN_SITE = $(call github,troglobit,inadyn,$(INADYN_VERSION))
INADYN_LICENSE = GPLv2+
INADYN_LICENSE_FILES = COPYING LICENSE
ifeq ($(BR2_PACKAGE_OPENSSL),y)
INADYN_DEPENDENCIES += openssl
else
define INADYN_DISABLE_OPENSSL
$(SED) '/ssl/Id' $(@D)/config.mk
endef
endif
INADYN_POST_PATCH_HOOKS += INADYN_DISABLE_OPENSSL
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 0600 package/inadyn/inadyn.conf \
$(TARGET_DIR)/etc/inadyn.conf
endef
define INADYN_INSTALL_INIT_SYSV
$(INSTALL) -D -m 0755 package/inadyn/S70inadyn \
$(TARGET_DIR)/etc/init.d/S70inadyn
endef
$(eval $(generic-package))