@@ -3,6 +3,7 @@ $(package)_version=4.3.5
3
3
$(package)_download_path =https://github.com/zeromq/libzmq/releases/download/v$($(package ) _version) /
4
4
$(package)_file_name =$(package ) -$($(package ) _version) .tar.gz
5
5
$(package)_sha256_hash =6653ef5910f17954861fe72332e68b03ca6e4d9c7160eb3a8de5a5a913bfab43
6
+ $(package)_build_subdir =build
6
7
$(package)_patches = remove_libstd_link.patch
7
8
$(package)_patches += macos_mktemp_check.patch
8
9
$(package)_patches += builtin_sha1.patch
@@ -11,11 +12,12 @@ $(package)_patches += cmake_minimum.patch
11
12
$(package)_patches += no_librt.patch
12
13
13
14
define $(package)_set_vars
14
- $(package ) _config_opts = --without-docs --disable-shared --disable-valgrind
15
- $(package ) _config_opts += --disable-perf --disable-curve-keygen --disable-curve --disable-libbsd
16
- $(package ) _config_opts += --without-libsodium --without-libgssapi_krb5 --without-pgm --without-norm --without-vmci
17
- $(package ) _config_opts += --disable-libunwind --disable-radix-tree --without-gcov --disable-dependency-tracking
18
- $(package ) _config_opts += --disable-Werror --disable-drafts --enable-option-checking
15
+ $(package ) _config_opts := -DCMAKE_BUILD_TYPE=None -DWITH_DOCS=OFF -DWITH_LIBSODIUM=OFF
16
+ $(package ) _config_opts += -DWITH_LIBBSD=OFF -DENABLE_CURVE=OFF -DENABLE_CPACK=OFF
17
+ $(package ) _config_opts += -DBUILD_SHARED=OFF -DBUILD_TESTS=OFF -DZMQ_BUILD_TESTS=OFF
18
+ $(package ) _config_opts += -DENABLE_DRAFTS=OFF -DZMQ_BUILD_TESTS=OFF
19
+ $(package ) _cxxflags += -ffile-prefix-map=$($(package ) _extract_dir) =/usr
20
+ $(package ) _config_opts_mingw32 += -DZMQ_WIN32_WINNT=0x0601 -DZMQ_HAVE_IPC=OFF
19
21
endef
20
22
21
23
define $(package)_preprocess_cmds
@@ -28,17 +30,15 @@ define $(package)_preprocess_cmds
28
30
endef
29
31
30
32
define $(package)_config_cmds
31
- ./autogen.sh && \
32
- cp -f $(BASEDIR ) /config.guess $(BASEDIR ) /config.sub config && \
33
- $($(package ) _autoconf)
33
+ $($(package ) _cmake) -S .. -B .
34
34
endef
35
35
36
36
define $(package)_build_cmds
37
- $(MAKE ) src/libzmq.la
37
+ $(MAKE )
38
38
endef
39
39
40
40
define $(package)_stage_cmds
41
- $(MAKE ) DESTDIR=$($(package ) _staging_dir) install-libLTLIBRARIES install-includeHEADERS install-pkgconfigDATA
41
+ $(MAKE ) DESTDIR=$($(package ) _staging_dir) install
42
42
endef
43
43
44
44
define $(package)_postprocess_cmds
0 commit comments