changeset 3919:282ca0892ed0

of-ga: add to mxe * src/of-ga.mk: new file * build_packages.m: add install of ga * index.html: add of-ga * Makefile.in: add ga * dist-files.mk: add of-ga.mk
author John Donoghue <john.donoghue@ieee.org>
date Sun, 26 Apr 2015 09:30:29 -0400
parents b52d090d04d3
children a0cd80b7bad4
files Makefile.in build_packages.m dist-files.mk index.html src/of-ga.mk
diffstat 5 files changed, 29 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Sat Apr 25 19:50:48 2015 -0400
+++ b/Makefile.in	Sun Apr 26 09:30:29 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 splines dataframe lssa queueing)
+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 dataframe lssa queueing ga)
 # 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	Sat Apr 25 19:50:48 2015 -0400
+++ b/build_packages.m	Sun Apr 26 09:30:29 2015 -0400
@@ -59,4 +59,5 @@
 try_install nurbs-1.3.9.tar.gz
 try_install octcdf-1.1.8.tar.gz
 try_install strings-1.1.0.tar.gz
+try_install ga-0.10.0.tar.gz
 
--- a/dist-files.mk	Sat Apr 25 19:50:48 2015 -0400
+++ b/dist-files.mk	Sun Apr 26 09:30:29 2015 -0400
@@ -462,6 +462,7 @@
   of-fl-core-1-fixes.patch \
   of-fl-core.mk \
   of-fuzzy-logic-toolkit.mk \
+  of-ga.mk \
   of-general.mk \
   of-generate_html.mk \
   of-geometry.mk \
--- a/index.html	Sat Apr 25 19:50:48 2015 -0400
+++ b/index.html	Sun Apr 26 09:30:29 2015 -0400
@@ -1874,6 +1874,10 @@
         <td class="website"><a href="http://octave.sf.net/">Octave Forge fuzzy-logic-toolkit package</a></td>
     </tr>
     <tr>
+        <td class="package">of-ga</td>
+        <td class="website"><a href="http://octave.sf.net/">Octave Forge ga package</a></td>
+    </tr>
+    <tr>
         <td class="package">of-general</td>
         <td class="website"><a href="http://octave.sf.net/">Octave Forge general package</a></td>
     </tr>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/of-ga.mk	Sun Apr 26 09:30:29 2015 -0400
@@ -0,0 +1,22 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG             := of-ga
+$(PKG)_IGNORE   :=
+$(PKG)_VERSION  := 0.10.0
+$(PKG)_CHECKSUM := 4445a0869d48bba4284f658dd4459a63d3c521d0
+$(PKG)_REMOTE_SUBDIR := 
+$(PKG)_SUBDIR   := ga
+$(PKG)_FILE     := ga-$($(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="ga-\([0-9][^"]*\).tar.gz".*,\1,p' | \
+    head -1
+endef
+
+define $(PKG)_BUILD
+    $(OCTAVE_FORGE_PKG_BUILD)
+endef