changeset 3911:006263ce4905

of-splines: add to mxe * src/of-splines.mk: new file * dist-files.mk: add of-splines.mk * build_packages.m: add install plines-1.2.7 * index.html, Makefile.am: add splines
author John Donoghue
date Fri, 17 Apr 2015 12:35:23 -0400
parents 569e31212bb6
children 52abc9be09fa
files Makefile.in build_packages.m dist-files.mk index.html src/of-splines.mk
diffstat 5 files changed, 29 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Fri Apr 17 08:24:07 2015 -0400
+++ b/Makefile.in	Fri Apr 17 12:35:23 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 stk)
+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 splines)
 # 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 08:24:07 2015 -0400
+++ b/build_packages.m	Fri Apr 17 12:35:23 2015 -0400
@@ -52,4 +52,5 @@
 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
+try_install splines-1.2.7.tar.gz
 
--- a/dist-files.mk	Fri Apr 17 08:24:07 2015 -0400
+++ b/dist-files.mk	Fri Apr 17 12:35:23 2015 -0400
@@ -483,6 +483,7 @@
   of-sockets-1-cross-fixes.patch \
   of-sockets.mk \
   of-specfun.mk \
+  of-splines.mk \
   of-statistics.mk \
   of-stk.mk \
   of-strings-1-fixes.patch \
--- a/index.html	Fri Apr 17 08:24:07 2015 -0400
+++ b/index.html	Fri Apr 17 12:35:23 2015 -0400
@@ -1942,6 +1942,10 @@
         <td class="website"><a href="http://octave.sf.net/">Octave Forge specfun package</a></td>
     </tr>
     <tr>
+        <td class="package">of-splines</td>
+        <td class="website"><a href="http://octave.sf.net/">Octave Forge splines package</a></td>
+    </tr>
+    <tr>
         <td class="package">of-statistics</td>
         <td class="website"><a href="http://octave.sf.net/">Octave Forge statistics package</a></td>
     </tr>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/of-splines.mk	Fri Apr 17 12:35:23 2015 -0400
@@ -0,0 +1,22 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG             := of-splines
+$(PKG)_IGNORE   :=
+$(PKG)_VERSION  := 1.2.7
+$(PKG)_CHECKSUM := d5a28ff0a6d7e42efc9756de78296bbf5d9ede22
+$(PKG)_REMOTE_SUBDIR := 
+$(PKG)_SUBDIR   := splines
+$(PKG)_FILE     := splines-$($(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="splines-\([0-9][^"]*\).tar.gz".*,\1,p' | \
+    head -1
+endef
+
+define $(PKG)_BUILD
+    $(OCTAVE_FORGE_PKG_BUILD)
+endef