Mercurial > mxe-octave
changeset 3893:dcd4cc57e1fc
of-instrument-control: add too mxe-octave
* Makefile.in: add instrument-control to forge list
* index.html: add of-instrument-control
* src/of-instrument-control.mk
* dist-files.mk: add instrument-control.mk
* build_packages.m: add instrument control 0.2.1
author | John Donoghue |
---|---|
date | Fri, 10 Apr 2015 07:47:53 -0400 |
parents | b42e8f913ddc |
children | 3fcb38c52a01 |
files | Makefile.in build_packages.m dist-files.mk index.html src/of-instrument-control.mk |
diffstat | 5 files changed, 29 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.in Fri Apr 10 07:35:38 2015 -0400 +++ b/Makefile.in Fri Apr 10 07:47:53 2015 -0400 @@ -419,7 +419,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 odepkg linear-algebra sockets zenity actuarial data-smoothing fuzzy-logic-toolkit quaternion fits fl-core tsa dicom netcdf ltfat database) +OCTAVE_FORGE_PACKAGES := $(addprefix of-,miscellaneous struct optim specfun general signal communications image io statistics control geometry windows odepkg linear-algebra sockets zenity actuarial data-smoothing fuzzy-logic-toolkit quaternion fits fl-core tsa dicom netcdf ltfat database instrument-control) # 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 Fri Apr 10 07:35:38 2015 -0400 +++ b/build_packages.m Fri Apr 10 07:47:53 2015 -0400 @@ -48,4 +48,5 @@ try_install netcdf-1.0.6.tar.gz try_install ltfat-2.0.1.tar.gz try_install database-2.3.1.tar.gz +try_install instrument-control-0.2.1.tar.gz
--- a/dist-files.mk Fri Apr 10 07:35:38 2015 -0400 +++ b/dist-files.mk Fri Apr 10 07:47:53 2015 -0400 @@ -460,6 +460,7 @@ of-general.mk \ of-geometry.mk \ of-image.mk \ + of-instrument-control.mk \ of-io.mk \ of-linear-algebra.mk \ of-ltfat-1-mingw-fixes.patch \
--- a/index.html Fri Apr 10 07:35:38 2015 -0400 +++ b/index.html Fri Apr 10 07:47:53 2015 -0400 @@ -1878,6 +1878,10 @@ <td class="website"><a href="http://octave.sf.net/">Octave Forge image 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> + <tr> <td class="package">of-io</td> <td class="website"><a href="http://octave.sf.net/">Octave Forge io package</a></td> </tr>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/of-instrument-control.mk Fri Apr 10 07:47:53 2015 -0400 @@ -0,0 +1,22 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := of-instrument-control +$(PKG)_IGNORE := +$(PKG)_VERSION := 0.2.1 +$(PKG)_CHECKSUM := 5365a568c6a9e4295a26a6ab7d612ace590a4f67 +$(PKG)_REMOTE_SUBDIR := +$(PKG)_SUBDIR := instrument-control +$(PKG)_FILE := instrument-control-$($(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="instrument-control-\([0-9][^"]*\).tar.gz".*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + $(OCTAVE_FORGE_PKG_BUILD) +endef