Blame view

buildroot/buildroot-2016.08.1/package/libnatpmp/libnatpmp.mk 792 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
24
25
26
27
28
29
30
31
  ################################################################################
  #
  # libnatpmp
  #
  ################################################################################
  
  LIBNATPMP_VERSION = 20150609
  LIBNATPMP_SITE = http://miniupnp.free.fr/files
  LIBNATPMP_INSTALL_STAGING = YES
  LIBNATPMP_LICENSE = BSD-3c
  LIBNATPMP_LICENSE_FILES = LICENSE
  
  define LIBNATPMP_BUILD_CMDS
  	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
  		CC="$(TARGET_CC)"
  endef
  
  define LIBNATPMP_INSTALL_STAGING_CMDS
  	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
  		PREFIX=$(STAGING_DIR) \
  		HEADERS='declspec.h natpmp.h' \
  		$(TARGET_CONFIGURE_OPTS) install
  endef
  
  define LIBNATPMP_INSTALL_TARGET_CMDS
  	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
  		PREFIX=$(TARGET_DIR) \
  		$(TARGET_CONFIGURE_OPTS) install
  endef
  
  $(eval $(generic-package))