Blame view

buildroot/buildroot-2016.08.1/package/noip/noip.mk 661 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  ################################################################################
  #
  # 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) "/^#define CONFIG_FILENAME/ s/PREFIX//" $(@D)/noip2.c
  	$(TARGET_MAKE_ENV) $(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))