Blame view

buildroot/buildroot-2016.08.1/package/ibrdtn-tools/ibrdtn-tools.mk 893 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
  ################################################################################
  #
  # ibrdtn-tools
  #
  ################################################################################
  
  IBRDTN_TOOLS_VERSION = 1.0.1
  IBRDTN_TOOLS_SITE = https://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases
  IBRDTN_TOOLS_LICENSE = Apache-2.0
  IBRDTN_TOOLS_LICENSE_FILES = COPYING
  IBRDTN_TOOLS_DEPENDENCIES = ibrcommon ibrdtn host-pkgconf
  
  ifeq ($(BR2_STATIC_LIBS),y)
  IBRDTN_TOOLS_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -pthread"
  endif
  
  ifeq ($(BR2_PACKAGE_LIBDAEMON),y)
  IBRDTN_TOOLS_CONF_OPTS += --with-libdaemon
  IBRDTN_TOOLS_DEPENDENCIES += libdaemon
  else
  IBRDTN_TOOLS_CONF_OPTS += --without-libdaemon
  endif
  
  ifeq ($(BR2_PACKAGE_LIBARCHIVE),y)
  IBRDTN_TOOLS_CONF_OPTS += --with-libarchive
  IBRDTN_TOOLS_DEPENDENCIES += libarchive
  else
  IBRDTN_TOOLS_CONF_OPTS += --without-libarchive
  endif
  
  $(eval $(autotools-package))