2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-03-25 14:28:03 +01:00
|
|
|
#
|
|
|
|
# zmqpp
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-03-25 14:28:03 +01:00
|
|
|
|
2014-01-02 22:54:21 +01:00
|
|
|
ZMQPP_VERSION = 30d72d95f2cfdf9c5cedfd56747f549d65e65847
|
2013-03-25 14:28:03 +01:00
|
|
|
ZMQPP_SITE = git://github.com/benjamg/zmqpp.git
|
|
|
|
ZMQPP_INSTALL_STAGING = YES
|
|
|
|
ZMQPP_DEPENDENCIES = zeromq
|
2014-01-04 11:45:44 +01:00
|
|
|
ZMQPP_LICENSE = LGPLv3+ with exceptions
|
|
|
|
ZMQPP_LICENSE_FILES = COPYING COPYING.LESSER
|
2013-03-25 14:28:03 +01:00
|
|
|
|
|
|
|
ZMQPP_MAKE_OPT = LD="$(TARGET_CXX)" BUILD_PATH=./build PREFIX=/usr
|
2013-11-10 21:58:33 +01:00
|
|
|
ZMQPP_LDFLAGS = $(TARGET_LDFLAGS) -lpthread
|
2013-03-25 14:28:03 +01:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_ZMQPP_CLIENT),y)
|
|
|
|
ZMQPP_DEPENDENCIES += boost
|
|
|
|
endif
|
|
|
|
|
|
|
|
define ZMQPP_BUILD_CMDS
|
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
2013-11-10 21:58:33 +01:00
|
|
|
LDFLAGS="$(ZMQPP_LDFLAGS)" \
|
2013-03-25 14:28:03 +01:00
|
|
|
$(ZMQPP_MAKE_OPT) $(if $(BR2_PACKAGE_ZMQPP_CLIENT),all) -C $(@D)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define ZMQPP_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -m 0755 -d $(TARGET_DIR)/usr/include/zmqpp
|
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
|
|
|
$(ZMQPP_MAKE_OPT) DESTDIR=$(TARGET_DIR) install -C $(@D)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define ZMQPP_INSTALL_STAGING_CMDS
|
|
|
|
$(INSTALL) -m 0755 -d $(STAGING_DIR)/usr/include/zmqpp
|
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
|
|
|
$(ZMQPP_MAKE_OPT) DESTDIR=$(STAGING_DIR) install -C $(@D)
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|