1 ################################################################################
5 ################################################################################
8 ZMQPP_SITE
= $(call github
,zeromq
,zmqpp
,$(ZMQPP_VERSION
))
9 ZMQPP_INSTALL_STAGING
= YES
10 ZMQPP_DEPENDENCIES
= zeromq
11 ZMQPP_LICENSE
= LGPLv3
+ with exceptions
12 ZMQPP_LICENSE_FILES
= COPYING COPYING.LESSER
14 ZMQPP_MAKE_OPTS
= LD
="$(TARGET_CXX)" BUILD_PATH
=.
/build PREFIX
=/usr
15 ZMQPP_LDFLAGS
= $(TARGET_LDFLAGS
) -lpthread
17 ifeq ($(BR2_PACKAGE_ZMQPP_CLIENT
),y
)
18 ZMQPP_DEPENDENCIES
+= boost
21 define ZMQPP_BUILD_CMDS
22 $(TARGET_MAKE_ENV
) $(MAKE
) $(TARGET_CONFIGURE_OPTS
) \
23 LDFLAGS
="$(ZMQPP_LDFLAGS)" \
24 $(ZMQPP_MAKE_OPTS
) $(if
$(BR2_PACKAGE_ZMQPP_CLIENT
),all) -C
$(@D
)
27 define ZMQPP_INSTALL_TARGET_CMDS
28 $(INSTALL
) -m
0755 -d
$(TARGET_DIR
)/usr
/include/zmqpp
29 $(TARGET_MAKE_ENV
) $(MAKE
) $(TARGET_CONFIGURE_OPTS
) \
30 $(ZMQPP_MAKE_OPTS
) DESTDIR
=$(TARGET_DIR
) install -C
$(@D
)
33 define ZMQPP_INSTALL_STAGING_CMDS
34 $(INSTALL
) -m
0755 -d
$(STAGING_DIR
)/usr
/include/zmqpp
35 $(TARGET_MAKE_ENV
) $(MAKE
) $(TARGET_CONFIGURE_OPTS
) \
36 $(ZMQPP_MAKE_OPTS
) DESTDIR
=$(STAGING_DIR
) install -C
$(@D
)
39 $(eval
$(generic-package
))