2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-10-08 00:39:01 +02:00
|
|
|
#
|
|
|
|
# noip
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-10-08 00:39:01 +02:00
|
|
|
|
|
|
|
NOIP_VERSION = 2.1.9
|
|
|
|
NOIP_SITE = http://www.no-ip.com/client/linux
|
|
|
|
NOIP_SOURCE = noip-duc-linux.tar.gz
|
2017-03-30 15:43:32 +02:00
|
|
|
NOIP_LICENSE = GPL-2.0+
|
2013-10-14 16:05:40 +02:00
|
|
|
NOIP_LICENSE_FILES = COPYING
|
2011-10-08 00:39:01 +02:00
|
|
|
|
|
|
|
define NOIP_BUILD_CMDS
|
2015-10-20 15:52:53 +02:00
|
|
|
$(SED) "/^#define CONFIG_FILENAME/ s/PREFIX//" $(@D)/noip2.c
|
2015-10-20 15:52:54 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) CC="$(TARGET_CC)" \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS)" PREFIX=/usr CONFDIR=/etc
|
2011-10-08 00:39:01 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define NOIP_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -m 0755 -D $(@D)/noip2 $(TARGET_DIR)/usr/sbin/noip2
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|