0
0
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:
Constantin Rack 2017-12-02 09:44:59 +01:00 committed by GitHub
commit d15795b4e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 0 deletions

View File

@ -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

View File

@ -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>