annotate src/of-miscellaneous.mk @ 3853:58935b4de51f

Enable build cross mkoctfile and compile of-XXXX package files * Makefile.in Add ENABLE_BINARY_PACKAGES, MXE_MKOCTFILE variable. Add OCTAVE_FORGE_PKG_COMPILE, OCTAVE_FORGE_PKG_BUILD_NOCOMPILE macros * configure.ac: add --enable-binary-packages option * src/default-octave.mk: if mingw, enable cross compile of mkoctfile, install the cross built mkoctfile to usr/bin * src/of-communications.mk: use OCTAVE_FORGE_PKG_BUILD_NOCOMPILE rule * src/of-control.mk: use OCTAVE_FORGE_PKG_BUILD_NOCOMPILE rule * src/of-dicom.mk: use OCTAVE_FORGE_PKG_BUILD_NOCOMPILE rule * src/of-fits.mk: use OCTAVE_FORGE_PKG_BUILD_NOCOMPILE rule * src/of-fl-core.mk: use OCTAVE_FORGE_PKG_BUILD_NOCOMPILE rule * src/of-image.mk: use OCTAVE_FORGE_PKG_BUILD_NOCOMPILE rule * src/of-linear-algebra.mk: use OCTAVE_FORGE_PKG_BUILD_NOCOMPILE rule * src/of-ltfat.mk: use OCTAVE_FORGE_PKG_BUILD_NOCOMPILE rule * src/of-linear-algebra.mk: use OCTAVE_FORGE_PKG_BUILD_NOCOMPILE rule * src/of-miscellaneous.mk: use OCTAVE_FORGE_PKG_BUILD with UNITS_AVAILABLE=yes arg * src/of-netcdf.mk: use OCTAVE_FORGE_PKG_BUILD_NOCOMPILE rule * src/of-odepkg.mk: use OCTAVE_FORGE_PKG_BUILD_NOCOMPILE rule * src/of-sockets.mk: use OCTAVE_FORGE_PKG_BUILD_NOCOMPILE rule * src/of-windows.mk: use OCTAVE_FORGE_PKG_BUILD_NOCOMPILE rule
author John Donoghue
date Thu, 19 Mar 2015 14:03:28 -0400
parents 946d97106a0d
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-miscellaneous
04791633efbc Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
3604
946d97106a0d of-miscellaneous: update to 1.2.1
John Donoghue
parents: 3561
diff changeset
6 $(PKG)_VERSION := 1.2.1
946d97106a0d of-miscellaneous: update to 1.2.1
John Donoghue
parents: 3561
diff changeset
7 $(PKG)_CHECKSUM := 01a55890d4f62f2700c0bf4051493c454fc5c042
2958
04791633efbc Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_REMOTE_SUBDIR :=
3604
946d97106a0d of-miscellaneous: update to 1.2.1
John Donoghue
parents: 3561
diff changeset
9 $(PKG)_SUBDIR := miscellaneous-$($(PKG)_VERSION)
2958
04791633efbc Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 $(PKG)_FILE := miscellaneous-$($(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'
3455
a10dd1ffb8b0 Add units as a dependancy of of-miscellaneous
John Donoghue <john.donoghue@ieee.org>
parents: 3352
diff changeset
12 $(PKG)_DEPS := of-general units
2958
04791633efbc Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13
04791633efbc Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 define $(PKG)_UPDATE
3561
ae4193aad5fe revise and enable more $(PKG)_UPDATE rules
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
15 $(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
16 $(SED) -n 's,.*title="miscellaneous-\([0-9][^"]*\).tar.gz".*,\1,p' | \
ae4193aad5fe revise and enable more $(PKG)_UPDATE rules
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
17 head -1
2958
04791633efbc Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 endef
04791633efbc Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19
04791633efbc Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 define $(PKG)_BUILD
3853
58935b4de51f Enable build cross mkoctfile and compile of-XXXX package files
John Donoghue
parents: 3604
diff changeset
21 $(call OCTAVE_FORGE_PKG_BUILD,$(1),$(2),$(3),UNITS_AVAILABLE=yes)
2958
04791633efbc Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 endef