Mercurial > mxe-octave
annotate src/of-communications.mk @ 5430:98bcc037fad7
* src/hdf5.mk: Update version to 1.12.0. Use cmake for Windows cross targets.
* src/hdf5-1-fixes.patch: Remove patch.
* src/mingw-hdf5-1.patch: Update patch.
* dist-files.mk: Remove file from list.
* src/of-communictaions.mk: Use pkg-config for linking in hdf5.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Mon, 25 May 2020 18:14:52 +0200 |
parents | aad0cc165a27 |
children | eae508c12529 |
rev | line source |
---|---|
2958
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1 # This file is part of MXE. |
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 # See index.html for further information. |
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
3 |
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 PKG := of-communications |
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
5256
aad0cc165a27
of-communications: update to v1.2.2
John Donoghue <john.donoghue@ieee.org>
parents:
4543
diff
changeset
|
6 $(PKG)_VERSION := 1.2.2 |
aad0cc165a27
of-communications: update to v1.2.2
John Donoghue <john.donoghue@ieee.org>
parents:
4543
diff
changeset
|
7 $(PKG)_CHECKSUM := 90ebf5cd84ba8df1f8c14241598d0baedc39f371 |
2958
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 $(PKG)_REMOTE_SUBDIR := |
3873 | 9 $(PKG)_SUBDIR := communications-$($(PKG)_VERSION) |
2958
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 $(PKG)_FILE := communications-$($(PKG)_VERSION).tar.gz |
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
11 $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download' |
3345
290e049823c9
Octave-forge pks: support file listing and pre-compilation (for MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3012
diff
changeset
|
12 $(PKG)_DEPS := of-signal |
2958
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
13 |
4449
1933a9113e65
of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
John D
parents:
4020
diff
changeset
|
14 ifeq ($(ENABLE_BINARY_PACKAGES),yes) |
1933a9113e65
of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
John D
parents:
4020
diff
changeset
|
15 $(PKG)_DEPS += $(OCTAVE_TARGET) |
1933a9113e65
of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
John D
parents:
4020
diff
changeset
|
16 endif |
1933a9113e65
of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
John D
parents:
4020
diff
changeset
|
17 |
3873 | 18 $(PKG)_OPTIONS := comm_cv_hdf5_cppflags='-I$(HOST_INCDIR)' comm_cv_hdf5_ldflags='-L$(HOST_LIBDIR)' comm_cv_hdf5_libs=-lhdf5 |
19 | |
2958
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
20 define $(PKG)_UPDATE |
4543
7d1e45c2f175
update: more PKG_UPDATE updates, added update-octaveforge target
John D
parents:
4449
diff
changeset
|
21 $(OCTAVE_FORGE_PKG_UPDATE) |
2958
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
22 endef |
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
23 |
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
24 define $(PKG)_BUILD |
5430
98bcc037fad7
* src/hdf5.mk: Update version to 1.12.0. Use cmake for Windows cross targets.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5256
diff
changeset
|
25 cd $(1)/src && ./configure \ |
98bcc037fad7
* src/hdf5.mk: Update version to 1.12.0. Use cmake for Windows cross targets.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5256
diff
changeset
|
26 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
98bcc037fad7
* src/hdf5.mk: Update version to 1.12.0. Use cmake for Windows cross targets.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5256
diff
changeset
|
27 PKG_CONFIG='$(MXE_PKG_CONFIG)' \ |
98bcc037fad7
* src/hdf5.mk: Update version to 1.12.0. Use cmake for Windows cross targets.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5256
diff
changeset
|
28 PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' |
3873 | 29 $(call OCTAVE_FORGE_PKG_BUILD,$(1),$(2),$(3),$($(PKG)_OPTIONS)) |
2958
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
30 endef |