Commit 17bee7c1 authored by Jan Pavlinec's avatar Jan Pavlinec

czmq: update to version 4.1.1 and polish makefile

parent 3312722a
#
## Copyright (C) 2017 CZ.NIC z.s.p.o. (http://www.nic.cz/)
## Copyright (C) 2019 CZ.NIC z.s.p.o. (http://www.nic.cz/)
#
## This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
......@@ -8,34 +8,36 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=czmq
PKG_VERSION:=20171102
PKG_VERSION:=4.1.1
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/zeromq/czmq.git
PKG_SOURCE_VERSION:=ed902413453c0e50c65f887c40a5e9052619a224
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_MAINTAINER:=CZ.NIC <packaging@turris.cz>
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/zeromq/czmq/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=b7623433547aa4b6e79722796c27ebc7c0470fea4204e920fd05e717c648f889
PKG_INSTALL:=1
PKG_FIXUP:=autoreconf
PKG_LICENSE:=MPLv2
PKG_LICENSE_FILES:=LICENSE
PKG_MAINTAINER:=CZ.NIC <packaging@turris.cz>
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/autotools.mk
define Package/$(PKG_NAME)
define Package/czmq
SECTION:=libs
CATEGORY:=Libraries
TITLE:=CZMQ
DEPENDS:=+libzmq +libuuid +libpcre
endef
define Package/$(PKG_NAME)/description
define Package/czmq/description
High-level C binding for ØMQ
endef
TARGET_CFLAGS += --std=c99
CONFIGURE_ARGS += \
--without-docs
TARGET_CFLAGS += --std=c99
CONFIGURE_ARGS += --without-docs
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/lib
......@@ -46,11 +48,11 @@ define Build/InstallDev
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/
endef
define Package/$(PKG_NAME)/install
define Package/czmq/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/zmakecert $(1)/usr/bin/zmakecert
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libczmq.so* $(1)/usr/lib/
endef
$(eval $(call BuildPackage,$(PKG_NAME)))
$(eval $(call BuildPackage,czmq))
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