Blame view

buildroot/buildroot-2016.08.1/package/mrouted/mrouted.mk 672 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
  ################################################################################
  #
  # mrouted
  #
  ################################################################################
  
  MROUTED_VERSION = 3.9.7
  MROUTED_SITE = $(call github,troglobit,mrouted,$(MROUTED_VERSION))
  MROUTED_DEPENDENCIES = host-bison
  MROUTED_LICENSE = BSD-3c
  MROUTED_LICENSE_FILES = LICENSE
  
  define MROUTED_CONFIGURE_CMDS
  	(cd $(@D); \
  		$(TARGET_MAKE_ENV) $(@D)/configure --enable-rsrr \
  	)
  endef
  
  define MROUTED_BUILD_CMDS
  	$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
  endef
  
  define MROUTED_INSTALL_TARGET_CMDS
  	$(MAKE) prefix=/usr DESTDIR=$(TARGET_DIR) -C $(@D) install
  endef
  
  $(eval $(generic-package))