mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-14 17:58:01 +08:00
Merge pull request #1705 from hintjens/master
Problem: no support for OpenWRT
This commit is contained in:
commit
d8941f599a
6
.gitignore
vendored
6
.gitignore
vendored
@ -1,5 +1,9 @@
|
|||||||
syntax: glob # for hg-git users
|
syntax: glob # for hg-git users
|
||||||
Makefile
|
/Makefile
|
||||||
|
builds/Makefile
|
||||||
|
builds/msvc/Makefile
|
||||||
|
configure
|
||||||
|
doc/Makefile
|
||||||
Makefile.in
|
Makefile.in
|
||||||
configure
|
configure
|
||||||
libtool
|
libtool
|
||||||
|
@ -731,7 +731,7 @@ dist-hook:
|
|||||||
else \
|
else \
|
||||||
echo A git clone is required to generate a ChangeLog >&2; \
|
echo A git clone is required to generate a ChangeLog >&2; \
|
||||||
fi
|
fi
|
||||||
-cp $(top_srcdir)/builds/redhat/zeromq.spec $(distdir)/zeromq.spec
|
-cp $(top_srcdir)/packaging/redhat/zeromq.spec $(distdir)/zeromq.spec
|
||||||
|
|
||||||
maintainer-clean-local:
|
maintainer-clean-local:
|
||||||
-rm -rf $(top_srcdir)/config
|
-rm -rf $(top_srcdir)/config
|
||||||
|
4
builds/README
Normal file
4
builds/README
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
This directory holds build tools, i.e. tools we use to build the current
|
||||||
|
code tree. Packaging tools (which take released tarballs or github code
|
||||||
|
repos) should go into /packaging.
|
||||||
|
|
61
builds/openwrt/Makefile
Normal file
61
builds/openwrt/Makefile
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
# Copyright (C) [2011-2012] [TheClashingRocks.org]
|
||||||
|
#
|
||||||
|
# Author: Jiva Nath Bagale <jnbagale@gmail.com>
|
||||||
|
# author: Victor Perron <victor@iso3103.net>
|
||||||
|
#
|
||||||
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
|
# See /LICENSE for more information.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
|
PKG_NAME:=zeromq
|
||||||
|
PKG_VERSION:=3.2.2
|
||||||
|
|
||||||
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
|
PKG_SOURCE_URL:=http://download.zeromq.org/
|
||||||
|
|
||||||
|
PKG_INSTALL:=1
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
define Package/zeromq
|
||||||
|
MAINTAINER:=victor@iso3103.net
|
||||||
|
TITLE:=zeromq
|
||||||
|
SECTION:=libs
|
||||||
|
DEPENDS:=+libstdcpp +libpthread +librt
|
||||||
|
CATEGORY:=Libraries
|
||||||
|
URL:=http://www.zeromq.org/
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/zeromq/description
|
||||||
|
The library provides light weight messaging services using an intelligent transport layer.
|
||||||
|
It can carry messages across inproc, IPC, TCP and multicast and is faster than TCP for
|
||||||
|
clustered products and supercomputing.
|
||||||
|
endef
|
||||||
|
|
||||||
|
|
||||||
|
define Build/InstallDev
|
||||||
|
$(INSTALL_DIR) \
|
||||||
|
$(1)/usr/lib \
|
||||||
|
$(1)/usr/include \
|
||||||
|
$(1)/usr/lib/pkgconfig
|
||||||
|
$(CP) \
|
||||||
|
$(PKG_INSTALL_DIR)/usr/lib/* \
|
||||||
|
$(1)/usr/lib/
|
||||||
|
$(CP) \
|
||||||
|
$(PKG_INSTALL_DIR)/usr/include/* \
|
||||||
|
$(1)/usr/include/
|
||||||
|
$(CP) \
|
||||||
|
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig \
|
||||||
|
$(1)/usr/lib/
|
||||||
|
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/zeromq/install
|
||||||
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call BuildPackage,zeromq))
|
||||||
|
|
@ -606,6 +606,6 @@ AC_CONFIG_FILES([ \
|
|||||||
doc/Makefile \
|
doc/Makefile \
|
||||||
builds/Makefile \
|
builds/Makefile \
|
||||||
builds/msvc/Makefile \
|
builds/msvc/Makefile \
|
||||||
builds/redhat/zeromq.spec])
|
packaging/redhat/zeromq.spec])
|
||||||
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
4
packaging/README
Normal file
4
packaging/README
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
This directory is for packaging tools. Please do not hardcode version
|
||||||
|
numbers into your scripts; you can get them at runtime by calling
|
||||||
|
version.sh, or at configure time if you use autoconf.
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user