Blame view

buildroot/buildroot-2016.08.1/package/qpid-proton/qpid-proton.mk 1.05 KB
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
32
33
34
35
36
37
  ################################################################################
  #
  # qpid-proton
  #
  ################################################################################
  
  QPID_PROTON_VERSION = 0.9.1
  QPID_PROTON_SITE = http://apache.panu.it/qpid/proton/$(QPID_PROTON_VERSION)
  QPID_PROTON_STRIP_COMPONENTS = 2
  QPID_PROTON_LICENSE = Apache-2.0
  QPID_PROTON_LICENSE_FILES = LICENSE
  QPID_PROTON_INSTALL_STAGING = YES
  QPID_PROTON_DEPENDENCIES = \
  	host-python \
  	util-linux \
  	$(if $(BR2_PACKAGE_OPENSSL),openssl)
  
  # Language bindings are enabled when host-swig tool is present in HOST_DIR.
  # For now, disable all of them.
  QPID_PROTON_CONF_OPTS = \
  	-DBUILD_JAVA=OFF \
  	-DBUILD_JAVASCRIPT=OFF \
  	-DBUILD_PERL=OFF \
  	-DBUILD_PHP=OFF \
  	-DBUILD_PYTHON=OFF \
  	-DBUILD_RUBY=OFF \
  	-DENABLE_VALGRIND=OFF \
  	-DENABLE_WARNING_ERROR=OFF \
  	-DPYTHON_EXECUTABLE=$(HOST_DIR)/usr/bin/python2
  
  define QPID_PROTON_REMOVE_USELESS_FILES
  	rm -fr $(TARGET_DIR)/usr/share/proton-*/
  endef
  
  QPID_PROTON_POST_INSTALL_TARGET_HOOKS += QPID_PROTON_REMOVE_USELESS_FILES
  
  $(eval $(cmake-package))