# HG changeset patch # User John Donoghue # Date 1429273447 14400 # Node ID 569e31212bb6c62541d1d190434744eac976b8db # Parent 586b26b09042682358176c6f1c8e8fdf159477fe 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 diff -r 586b26b09042 -r 569e31212bb6 Makefile.in --- 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))) diff -r 586b26b09042 -r 569e31212bb6 build_packages.m --- 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 diff -r 586b26b09042 -r 569e31212bb6 dist-files.mk --- 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 \ diff -r 586b26b09042 -r 569e31212bb6 index.html --- 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 @@ Octave Forge statistics package + of-stk + Octave Forge stk package + + of-strings Octave Forge strings package diff -r 586b26b09042 -r 569e31212bb6 src/of-stk.mk --- /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