mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-26 23:01:04 +08:00
Merge pull request #2852 from bluca/pkg_include_cppzmq
Problem: Debian packages are missing zmq.hpp
This commit is contained in:
commit
d15795b4e3
@ -52,6 +52,12 @@ else
|
||||
endif
|
||||
endif
|
||||
|
||||
override_dh_auto_install:
|
||||
dh_auto_install
|
||||
ifneq ("$(wildcard debian/zmq.hpp)","")
|
||||
cp $(CURDIR)/debian/zmq.hpp $(CURDIR)/debian/tmp/usr/include/
|
||||
endif
|
||||
|
||||
override_dh_strip:
|
||||
dh_strip --dbg-package=libzmq5-dbg
|
||||
|
||||
|
@ -10,6 +10,18 @@
|
||||
<param name="filename">zeromq</param>
|
||||
</service>
|
||||
|
||||
<!-- embed zmq.hpp like Debian and Ubuntu do -->
|
||||
<service name="download_url">
|
||||
<param name="protocol">https</param>
|
||||
<param name="host">github.com</param>
|
||||
<param name="path">zeromq/cppzmq/archive/master.zip</param>
|
||||
</service>
|
||||
<service name="extract_file">
|
||||
<param name="archive">*master.zip</param>
|
||||
<param name="files">*/zmq.hpp</param>
|
||||
<param name="outfilename">debian.zmq.hpp</param>
|
||||
</service>
|
||||
|
||||
<!-- extract redhat packaging -->
|
||||
<service name="extract_file">
|
||||
<param name="archive">*.tar</param>
|
||||
|
Loading…
x
Reference in New Issue
Block a user