# HG changeset patch # User John Donoghue # Date 1523985726 14400 # Node ID 6592c495d120914dd5752f40e6207f6e07989610 # Parent d09fabbfdc1797eec185f655c69b9d14e3444f45 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 diff -r d09fabbfdc17 -r 6592c495d120 Makefile.in --- 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))) diff -r d09fabbfdc17 -r 6592c495d120 build_packages.m --- 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); diff -r d09fabbfdc17 -r 6592c495d120 dist-files.mk --- 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 \ diff -r d09fabbfdc17 -r 6592c495d120 index.html --- 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 @@ Octave Forge optim package + of-optiminterp + Octave Forge optimintperp package + + of-quaternion Octave Forge quaternion package diff -r d09fabbfdc17 -r 6592c495d120 src/of-optiminterp.mk --- /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