aboutsummaryrefslogtreecommitdiff
path: root/package/cppzmq/cppzmq.mk
blob: 19c5944bb22fdb328223042da6a88060c65f9e1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
################################################################################
#
# cppzmq
#
################################################################################

CPPZMQ_VERSION = b23297800389149ac37f19b7215fa4734d344998
CPPZMQ_SITE = git://github.com/zeromq/cppzmq.git
CPPZMQ_INSTALL_STAGING = YES
CPPZMQ_DEPENDENCIES = zeromq
CPPZMQ_LICENSE = MIT
# No license file, the license is in the installed header
CPPZMQ_LICENSE_FILES = zmq.hpp

define CPPZMQ_INSTALL_STAGING_CMDS
	$(INSTALL) -m 0644 -D $(@D)/zmq.hpp $(STAGING_DIR)/usr/include/zmq.hpp
endef

define CPPZMQ_UNINSTALL_STAGING_CMDS
	$(RM) $(STAGING_DIR)/usr/include/zmq.hpp
endef

$(eval $(generic-package))