changeset 4006:b4719e81ddcf

of-mapping: add new package * src/of-mapping.mk: new file * build_packages.m: add install of mapping * dist-files.mk: add of-mapping.mk * index.html: add of-mapping package * Makefile.in: add mapping package
author John D
date Tue, 04 Aug 2015 01:55:45 -0400
parents 7cfb76a62d7e
children 8fc810f8ff93
files Makefile.in build_packages.m dist-files.mk index.html src/of-mapping.mk
diffstat 5 files changed, 29 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Mon Aug 03 19:18:14 2015 -0400
+++ b/Makefile.in	Tue Aug 04 01:55:45 2015 -0400
@@ -429,7 +429,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 interval nan ocs)
+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 nan ocs mapping)
 # 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 Aug 03 19:18:14 2015 -0400
+++ b/build_packages.m	Tue Aug 04 01:55:45 2015 -0400
@@ -62,4 +62,5 @@
 try_install interval-1.1.0.tar.gz
 try_install nan-2.8.1.tar.gz
 try_install ocs-0.1.4.tar.gz
+try_install mapping-1.2.0.tar.gz
 
--- a/dist-files.mk	Mon Aug 03 19:18:14 2015 -0400
+++ b/dist-files.mk	Tue Aug 04 01:55:45 2015 -0400
@@ -475,6 +475,7 @@
   of-linear-algebra.mk \
   of-lssa.mk \
   of-ltfat.mk \
+  of-mapping.mk \
   of-miscellaneous-1-fixes.patch \
   of-miscellaneous.mk \
   of-nan-1-cross-fixes.patch \
--- a/index.html	Mon Aug 03 19:18:14 2015 -0400
+++ b/index.html	Tue Aug 04 01:55:45 2015 -0400
@@ -1934,6 +1934,10 @@
         <td class="website"><a href="http://octave.sf.net/">Octave Forge ltfat package</a></td>
     </tr>
     <tr>
+        <td class="package">of-mapping</td>
+        <td class="website"><a href="http://octave.sf.net/">Octave Forge mapping package</a></td>
+    </tr>
+    <tr>
         <td class="package">of-miscellaneous</td>
         <td class="website"><a href="http://octave.sf.net/">Octave Forge miscellaneous package</a></td>
     </tr>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/of-mapping.mk	Tue Aug 04 01:55:45 2015 -0400
@@ -0,0 +1,22 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG             := of-mapping
+$(PKG)_IGNORE   :=
+$(PKG)_VERSION  := 1.2.0
+$(PKG)_CHECKSUM := 21101d6d1a92499df826063ce79ee093fd95d23d
+$(PKG)_REMOTE_SUBDIR := 
+$(PKG)_SUBDIR   := mapping
+$(PKG)_FILE     := mapping-$($(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="mapping-\([0-9][^"]*\).tar.gz".*,\1,p' | \
+    head -1
+endef
+
+define $(PKG)_BUILD
+    $(OCTAVE_FORGE_PKG_BUILD)
+endef