Mercurial > mxe-octave
changeset 4665:6592c495d120
of-optiminterp: add new package
* src/of-optiminterp.mk: add new mk file
* Makefile.in: add optiminterp to package list
* build_packages.m: add optiminterp to install script
* dist-files.mk: add ref to of-optiminterp.mk
* index.html: add of-optiminterp entry
author | John Donoghue |
---|---|
date | Tue, 17 Apr 2018 13:22:06 -0400 |
parents | d09fabbfdc17 |
children | bb748339b351 |
files | Makefile.in build_packages.m dist-files.mk index.html src/of-optiminterp.mk |
diffstat | 5 files changed, 31 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.in Tue Apr 17 13:22:05 2018 -0400 +++ b/Makefile.in Tue Apr 17 13:22:06 2018 -0400 @@ -504,7 +504,7 @@ ## sparsersb: configure script needs many fixes for syntax ## configure script fails for cross compiling because ## it attempts to run Octave -OCTAVE_FORGE_PACKAGES := $(addprefix of-,miscellaneous struct optim general signal communications image io statistics control geometry windows linear-algebra sockets data-smoothing fuzzy-logic-toolkit quaternion fits tsa dicom netcdf ltfat database instrument-control generate_html nurbs strings financial stk splines dataframe lssa queueing ga odepkg interval nan ocs mapping tisean video zeromq gsl) +OCTAVE_FORGE_PACKAGES := $(addprefix of-,miscellaneous struct optim general signal communications image io statistics control geometry windows linear-algebra sockets data-smoothing fuzzy-logic-toolkit quaternion fits tsa dicom netcdf ltfat database instrument-control generate_html nurbs strings financial stk splines dataframe lssa queueing ga odepkg interval nan ocs mapping tisean video zeromq gsl optiminterp) # get ALL deps for all of- packages, regardless of whether building the actual forge package in the installer OCTAVE_FORGE_DEPS:= $(sort $(foreach p,$(addprefix $(TOP_DIR)/src/,$(addsuffix .mk,$(OCTAVE_FORGE_PACKAGES))),$(shell $(SED) -n 's/.*_DEPS.*:=\(.*\)/\1/p' $p)))
--- a/build_packages.m Tue Apr 17 13:22:05 2018 -0400 +++ b/build_packages.m Tue Apr 17 13:22:06 2018 -0400 @@ -72,6 +72,7 @@ try_install video-1.2.4.tar.gz try_install zeromq-1.3.0.tar.gz try_install gsl-2.1.0.tar.gz + try_install optiminterp-0.3.5.tar.gz unwind_protect_cleanup echo_executing_commands (orig_echo);
--- a/dist-files.mk Tue Apr 17 13:22:05 2018 -0400 +++ b/dist-files.mk Tue Apr 17 13:22:06 2018 -0400 @@ -507,6 +507,7 @@ of-odepkg.mk \ of-optim-1-fixes.patch \ of-optim.mk \ + of-optiminterp.mk \ of-quaternion-1-cross-fixes.patch \ of-quaternion.mk \ of-queueing.mk \
--- a/index.html Tue Apr 17 13:22:05 2018 -0400 +++ b/index.html Tue Apr 17 13:22:06 2018 -0400 @@ -2046,6 +2046,10 @@ <td class="website"><a href="https://octave.sourceforge.io/">Octave Forge optim package</a></td> </tr> <tr> + <td class="package">of-optiminterp</td> + <td class="website"><a href="https://octave.sourceforge.io/">Octave Forge optimintperp package</a></td> + </tr> + <tr> <td class="package">of-quaternion</td> <td class="website"><a href="https://octave.sourceforge.io/">Octave Forge quaternion package</a></td> </tr>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/of-optiminterp.mk Tue Apr 17 13:22:06 2018 -0400 @@ -0,0 +1,24 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := of-optiminterp +$(PKG)_IGNORE := +$(PKG)_VERSION := 0.3.5 +$(PKG)_CHECKSUM := 071a2a9dd9de1ce3f1928d239604807fb71c4232 +$(PKG)_REMOTE_SUBDIR := +$(PKG)_SUBDIR := optiminterp-$($(PKG)_VERSION) +$(PKG)_FILE := optiminterp-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download' +$(PKG)_DEPS := + +ifeq ($(ENABLE_BINARY_PACKAGES),yes) + $(PKG)_DEPS += $(OCTAVE_TARGET) +endif + +define $(PKG)_UPDATE + $(OCTAVE_FORGE_PKG_UPDATE) +endef + +define $(PKG)_BUILD + $(OCTAVE_FORGE_PKG_BUILD) +endef