Unverified Commit d15795b4 authored by Constantin Rack's avatar Constantin Rack Committed by GitHub

Merge pull request #2852 from bluca/pkg_include_cppzmq

Problem: Debian packages are missing zmq.hpp
parents dee65595 83c042cc
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment