annotate src/of-communications.mk @ 4066:0962acdde3be

builld: allow out of source build * Makefile.in: add TOP_BUILD_DIR var and use TOP_DIR=srcdir, TOP_BUILD_DIR=builddir, modify paths to use TOP_DIR where needed * binary-dist-rules.mk: use TOP_DIR and TOP_BUILD_DIR where needed * makeinst-script.sh: use script path to determine TOPDIR, use TOPDIR where needed * src/default-octave.mk: install octave-version to builddir * src/stable-octave.mk: install octave-version to builddir * src/octave.mk: install octave-version to builddir * tools/set-mxe-env.sh.in: update fir builddir and srcdir use
author John Donoghue
date Wed, 23 Dec 2015 08:11:04 -0500
parents 46c6ddb14417
children 1933a9113e65
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 :=
3873
58aa10af640e of-communications: update to v1.2.1
John Donoghue
parents: 3853
diff changeset
6 $(PKG)_VERSION := 1.2.1
58aa10af640e of-communications: update to v1.2.1
John Donoghue
parents: 3853
diff changeset
7 $(PKG)_CHECKSUM := bf70d8c315c2239e168c02522482c81e4b912968
2958
04791633efbc Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_REMOTE_SUBDIR :=
3873
58aa10af640e of-communications: update to v1.2.1
John Donoghue
parents: 3853
diff changeset
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
3873
58aa10af640e of-communications: update to v1.2.1
John Donoghue
parents: 3853
diff changeset
14 $(PKG)_OPTIONS := comm_cv_hdf5_cppflags='-I$(HOST_INCDIR)' comm_cv_hdf5_ldflags='-L$(HOST_LIBDIR)' comm_cv_hdf5_libs=-lhdf5
58aa10af640e of-communications: update to v1.2.1
John Donoghue
parents: 3853
diff changeset
15
2958
04791633efbc Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 define $(PKG)_UPDATE
3561
ae4193aad5fe revise and enable more $(PKG)_UPDATE rules
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
17 $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \
ae4193aad5fe revise and enable more $(PKG)_UPDATE rules
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
18 $(SED) -n 's,.*title="communications-\([0-9][^"]*\).tar.gz".*,\1,p' | \
ae4193aad5fe revise and enable more $(PKG)_UPDATE rules
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
19 head -1
2958
04791633efbc Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 endef
04791633efbc Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21
04791633efbc Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 define $(PKG)_BUILD
4020
46c6ddb14417 of-communications: add patch to compile wih dev octave (Bug #45856)
John Donoghue
parents: 3873
diff changeset
23 cd $(1)/src && autoconf
3873
58aa10af640e of-communications: update to v1.2.1
John Donoghue
parents: 3853
diff changeset
24 $(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
25 endef