kumquat-buildroot/package/noip/noip.mk
Thomas De Schampheleire 3d86d29bf0 packages: remove package clean commands
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-12-08 19:42:34 +01:00

25 lines
668 B
Makefile

################################################################################
#
# noip
#
################################################################################
NOIP_VERSION = 2.1.9
NOIP_SITE = http://www.no-ip.com/client/linux
NOIP_SOURCE = noip-duc-linux.tar.gz
NOIP_LICENSE = GPLv2+
NOIP_LICENSE_FILES = COPYING
define NOIP_BUILD_CMDS
sed -i -e "s:\(#define CONFIG_FILENAME\).*:\1 \"/etc/no-ip2.conf\":" \
$(@D)/noip2.c
$(MAKE) -C $(@D) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
PREFIX=/usr CONFDIR=/etc
endef
define NOIP_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 -D $(@D)/noip2 $(TARGET_DIR)/usr/sbin/noip2
endef
$(eval $(generic-package))