Mercurial > mxe-octave
annotate src/of-communications.mk @ 3993:3a38544f2a8f
default-octave: update cur current dev branch build
* src/default-octave-1-docinstall.patch: remove patch
* dist-files.mk: removed default-octave-1-docinstall.patch
* src/default-octave.mk: build libgnu first
author | John D |
---|---|
date | Mon, 27 Jul 2015 22:00:58 -0400 |
parents | 58aa10af640e |
children | 46c6ddb14417 |
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 | 6 $(PKG)_VERSION := 1.2.1 |
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 | 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 | 14 $(PKG)_OPTIONS := comm_cv_hdf5_cppflags='-I$(HOST_INCDIR)' comm_cv_hdf5_ldflags='-L$(HOST_LIBDIR)' comm_cv_hdf5_libs=-lhdf5 |
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 |
3873 | 23 $(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
|
24 endef |