@ -9,31 +9,29 @@ include $(TOPDIR)/rules.mk
PKG_NAME := czmq
PKG_NAME := czmq
PKG_VERSION := 4.2.0
PKG_VERSION := 4.2.0
PKG_RELEASE := 2
PKG_RELEASE := 3
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := https://github.com/zeromq/czmq/releases/download/v$( PKG_VERSION) /
PKG_SOURCE_URL := https://github.com/zeromq/czmq/releases/download/v$( PKG_VERSION) /
PKG_HASH := cfab29c2b3cc8a845749758a51e1dd5f5160c1ef57e2a41ea96e4c2dcc8feceb
PKG_HASH := cfab29c2b3cc8a845749758a51e1dd5f5160c1ef57e2a41ea96e4c2dcc8feceb
PKG_INSTALL := 1
PKG_FIXUP := autoreconf
PKG_LICENSE := MPLv2
PKG_LICENSE_FILES := LICENSE
PKG_MAINTAINER := Jan Pavlinec <jan.pavlinec@nic.cz>
PKG_MAINTAINER := Jan Pavlinec <jan.pavlinec@nic.cz>
PKG_LICENSE := MPL-2.0
PKG_LICENSE_FILES := LICENSE
PKG_ABI_VERSION := 4
CMAKE_INSTALL := 1
PKG_BUILD_PARALLEL := 1
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / a u t o t o o l s . m k
i n c l u d e $( INCLUDE_DIR ) / c m a k e . m k
d e f i n e P a c k a g e / c z m q
d e f i n e P a c k a g e / c z m q
SECTION:= libs
CATEGORY:= Libraries
TITLE:= CZMQ High-level C binding for ZeroMQ
URL:= http://czmq.zeromq.org
ABI_VERSION:= $( PKG_ABI_VERSION)
DEPENDS:= +libzmq +libuuid +libpcre +libmicrohttpd +liblz4 +libcurl
SECTION:= libs
CATEGORY:= Libraries
TITLE:= CZMQ High-level C binding for ZeroMQ
URL:= http://czmq.zeromq.org
ABI_VERSION:= 4
DEPENDS:= +libzmq +libuuid +libpcre +libmicrohttpd +liblz4 +libcurl
e n d e f
e n d e f
d e f i n e P a c k a g e / c z m q / d e s c r i p t i o n
d e f i n e P a c k a g e / c z m q / d e s c r i p t i o n
@ -41,24 +39,17 @@ define Package/czmq/description
library, aimed at use in distributed or concurrent applications.
library, aimed at use in distributed or concurrent applications.
e n d e f
e n d e f
TARGET_CFLAGS += --std= c99
CONFIGURE_ARGS += --without-docs
d e f i n e B u i l d / I n s t a l l D e v
$( INSTALL_DIR) $( 1) /usr/lib/pkgconfig
$( CP) $( PKG_INSTALL_DIR) /usr/lib/* $( 1) /usr/lib/
$( INSTALL_DIR) $( 1) /usr/include
$( CP) $( PKG_INSTALL_DIR) /usr/include/* $( 1) /usr/include/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/pkgconfig/* $( 1) /usr/lib/pkgconfig/
e n d e f
CMAKE_OPTIONS += \
-DBUILD_TESTING= OFF \
-DCMAKECONFIG_INSTALL_DIR= lib/cmake/czmq \
-DCMAKE_SKIP_INSTALL_RPATH= ON \
-DENABLE_DRAFTS= OFF
d e f i n e P a c k a g e / c z m q / i n s t a l l
d e f i n e P a c k a g e / c z m q / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/bin/zmakecert $( 1) /usr/bin/zmakecert
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/bin/zmakecert $( 1) /usr/bin/
$( INSTALL_DIR) $( 1) /usr/lib
$( INSTALL_DIR) $( 1) /usr/lib
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libczmq.so.$( PKG_VERSION) $( 1) /usr/lib/
$( LN) /usr/lib/libczmq.so.$( PKG_VERSION) $( 1) /usr/lib/libczmq.so
$( LN) /usr/lib/libczmq.so.$( PKG_VERSION) $( 1) /usr/lib/libczmq.so.$( PKG_ABI_VERSION)
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libczmq.so.* $( 1) /usr/lib/
e n d e f
e n d e f
$( eval $ ( call BuildPackage ,czmq ) )
$( eval $ ( call BuildPackage ,czmq ) )