mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 18:40:27 +01:00
Problem: Debian packages are missing zmq.hpp
Solution: install it if available. Download it from its repo as part of the OBS source run. Debian and Ubuntu always ship zmq.hpp in libzmq-dev, so do the same. In the RPM world it is in its own separate package, so don't do the same for RPM.
This commit is contained in:
parent
fcacb603d6
commit
83c042ccda
@ -52,6 +52,12 @@ else
|
|||||||
endif
|
endif
|
||||||
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:
|
override_dh_strip:
|
||||||
dh_strip --dbg-package=libzmq5-dbg
|
dh_strip --dbg-package=libzmq5-dbg
|
||||||
|
|
||||||
|
@ -10,6 +10,18 @@
|
|||||||
<param name="filename">zeromq</param>
|
<param name="filename">zeromq</param>
|
||||||
</service>
|
</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 -->
|
<!-- extract redhat packaging -->
|
||||||
<service name="extract_file">
|
<service name="extract_file">
|
||||||
<param name="archive">*.tar</param>
|
<param name="archive">*.tar</param>
|
||||||
|
Loading…
Reference in New Issue
Block a user