Mercurial > mxe-octave
changeset 3910:569e31212bb6
of-stk: add to mxe
* src/of-stk.mk: new file
* dist-files.mk: add of-stk.mk
* index.html: add stk
* Makefile.in: add stk to forge packages
* build_packages.m: add stk
author | John Donoghue |
---|---|
date | Fri, 17 Apr 2015 08:24:07 -0400 |
parents | 586b26b09042 |
children | 006263ce4905 |
files | Makefile.in build_packages.m dist-files.mk index.html src/of-stk.mk |
diffstat | 5 files changed, 29 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.in Fri Apr 17 14:53:00 2015 -0400 +++ b/Makefile.in Fri Apr 17 08:24:07 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 instrument-control generate_html nurbs strings octcdf financial) +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 generate_html nurbs strings octcdf financial stk) # 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 17 14:53:00 2015 -0400 +++ b/build_packages.m Fri Apr 17 08:24:07 2015 -0400 @@ -51,4 +51,5 @@ try_install instrument-control-0.2.1.tar.gz try_install generate_html-0.1.7.tar.gz try_install financial-0.4.0.tar.gz +try_install stk-2.2.1.tar.gz
--- a/dist-files.mk Fri Apr 17 14:53:00 2015 -0400 +++ b/dist-files.mk Fri Apr 17 08:24:07 2015 -0400 @@ -484,6 +484,7 @@ of-sockets.mk \ of-specfun.mk \ of-statistics.mk \ + of-stk.mk \ of-strings-1-fixes.patch \ of-strings.mk \ of-struct.mk \
--- a/index.html Fri Apr 17 14:53:00 2015 -0400 +++ b/index.html Fri Apr 17 08:24:07 2015 -0400 @@ -1946,6 +1946,10 @@ <td class="website"><a href="http://octave.sf.net/">Octave Forge statistics package</a></td> </tr> <tr> + <td class="package">of-stk</td> + <td class="website"><a href="http://octave.sf.net/">Octave Forge stk package</a></td> + </tr> + <tr> <td class="package">of-strings</td> <td class="website"><a href="http://octave.sf.net/">Octave Forge strings package</a></td> </tr>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/of-stk.mk Fri Apr 17 08:24:07 2015 -0400 @@ -0,0 +1,22 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := of-stk +$(PKG)_IGNORE := +$(PKG)_VERSION := 2.2.1 +$(PKG)_CHECKSUM := 8b2f47ecb4e468782b2b3622b3ddbb82f56673b5 +$(PKG)_REMOTE_SUBDIR := +$(PKG)_SUBDIR := stk +$(PKG)_FILE := stk-$($(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="stk-\([0-9][^"]*\).tar.gz".*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + $(OCTAVE_FORGE_PKG_BUILD) +endef