Mercurial > mxe-octave
changeset 3967:55f3a9ff20b8
of-interval: add to mxe-octave
* src/of-interval.mk: new file
* dist-files.mk: add of-interval.mk.
* index.html: add of-interval
* Makefile.in: add of-interval
* build_packages.m: add interval package
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Mon, 15 Jun 2015 20:59:37 -0400 |
parents | e1c46df42951 |
children | d0d5dacd1941 |
files | Makefile.in build_packages.m dist-files.mk index.html src/of-interval.mk |
diffstat | 5 files changed, 29 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.in Mon Jun 15 20:50:52 2015 -0400 +++ b/Makefile.in Mon Jun 15 20:59:37 2015 -0400 @@ -427,7 +427,7 @@ endif OCTAVE_FORGE_BASE_URL := 'http://sourceforge.net/projects/octave/files/Octave Forge Packages/Individual Package Releases' -OCTAVE_FORGE_PACKAGES := $(addprefix of-,miscellaneous struct optim specfun general signal communications image io statistics control geometry windows linear-algebra sockets zenity data-smoothing fuzzy-logic-toolkit quaternion fits fl-core tsa dicom netcdf ltfat database instrument-control generate_html nurbs strings octcdf financial stk splines dataframe lssa queueing ga odepkg) +OCTAVE_FORGE_PACKAGES := $(addprefix of-,miscellaneous struct optim specfun general signal communications image io statistics control geometry windows linear-algebra sockets zenity data-smoothing fuzzy-logic-toolkit quaternion fits fl-core tsa dicom netcdf ltfat database instrument-control generate_html nurbs strings octcdf financial stk splines dataframe lssa queueing ga odepkg interval) # get ALL deps for all of- packages, regardless of whethe building the actual forge package in the installer OCTAVE_FORGE_DEPS:= $(sort $(foreach p,$(wildcard $(TOP_DIR)/src/of-*.mk),$(shell $(SED) -n 's/.*_DEPS.*:=\(.*\)/\1/p' $p)))
--- a/build_packages.m Mon Jun 15 20:50:52 2015 -0400 +++ b/build_packages.m Mon Jun 15 20:59:37 2015 -0400 @@ -59,4 +59,5 @@ try_install octcdf-1.1.8.tar.gz try_install strings-1.2.0.tar.gz try_install ga-0.10.0.tar.gz +try_install interval-1.0.0.tar.gz
--- a/dist-files.mk Mon Jun 15 20:50:52 2015 -0400 +++ b/dist-files.mk Mon Jun 15 20:59:37 2015 -0400 @@ -467,6 +467,7 @@ of-generate_html.mk \ of-geometry.mk \ of-image.mk \ + of-interval.mk \ of-instrument-control.mk \ of-io.mk \ of-linear-algebra-1-cross-fixes.patch \
--- a/index.html Mon Jun 15 20:50:52 2015 -0400 +++ b/index.html Mon Jun 15 20:59:37 2015 -0400 @@ -1910,6 +1910,10 @@ <td class="website"><a href="http://octave.sf.net/">Octave Forge image package</a></td> </tr> <tr> + <td class="package">of-interval</td> + <td class="website"><a href="http://octave.sf.net/">Octave Forge interval package</a></td> + </tr> + <tr> <td class="package">of-instrument-control</td> <td class="website"><a href="http://octave.sf.net/">Octave Forge instrument-control package</a></td> </tr>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/of-interval.mk Mon Jun 15 20:59:37 2015 -0400 @@ -0,0 +1,22 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := of-interval +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.0.0 +$(PKG)_CHECKSUM := 8ba9a76367d56c855c2d7088eca9c788221dcc7b +$(PKG)_REMOTE_SUBDIR := +$(PKG)_SUBDIR := interval-$($(PKG)_VERSION) +$(PKG)_FILE := interval-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download' +$(PKG)_DEPS := + +define $(PKG)_UPDATE + $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \ + $(SED) -n 's,.*title="interval-\([0-9][^"]*\).tar.gz".*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + $(OCTAVE_FORGE_PKG_BUILD) +endef