changeset 3894:3fcb38c52a01

og-generate_hmtl: add to mxe-octave * src/of-generate_html.mk: new file * dist-files.mk: add of-generate_html.mk * index.html: add of-generate_html * build_packages.m: add generate_html
author John Donoghue
date Fri, 10 Apr 2015 08:35:32 -0400
parents dcd4cc57e1fc
children eb9594968ac1
files Makefile.in build_packages.m dist-files.mk index.html src/of-generate_html.mk
diffstat 5 files changed, 29 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Fri Apr 10 07:47:53 2015 -0400
+++ b/Makefile.in	Fri Apr 10 08:35:32 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)
+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)
 # 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 10 07:47:53 2015 -0400
+++ b/build_packages.m	Fri Apr 10 08:35:32 2015 -0400
@@ -49,4 +49,5 @@
 try_install ltfat-2.0.1.tar.gz
 try_install database-2.3.1.tar.gz
 try_install instrument-control-0.2.1.tar.gz
+try_install generate_html-0.1.7.tar.gz
 
--- a/dist-files.mk	Fri Apr 10 07:47:53 2015 -0400
+++ b/dist-files.mk	Fri Apr 10 08:35:32 2015 -0400
@@ -458,6 +458,7 @@
   of-fl-core.mk \
   of-fuzzy-logic-toolkit.mk \
   of-general.mk \
+  of-generate_html.mk \
   of-geometry.mk \
   of-image.mk \
   of-instrument-control.mk \
--- a/index.html	Fri Apr 10 07:47:53 2015 -0400
+++ b/index.html	Fri Apr 10 08:35:32 2015 -0400
@@ -1870,6 +1870,10 @@
         <td class="website"><a href="http://octave.sf.net/">Octave Forge general package</a></td>
     </tr>
     <tr>
+        <td class="package">of-generate_html</td>
+        <td class="website"><a href="http://octave.sf.net/">Octave Forge generate_html package</a></td>
+    </tr>
+    <tr>
         <td class="package">of-geometry</td>
         <td class="website"><a href="http://octave.sf.net/">Octave Forge geometry package</a></td>
     </tr>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/of-generate_html.mk	Fri Apr 10 08:35:32 2015 -0400
@@ -0,0 +1,22 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG             := of-generate_html
+$(PKG)_IGNORE   :=
+$(PKG)_VERSION  := 0.1.7
+$(PKG)_CHECKSUM := 403b60499da513ed6d5cdd2091f94d43dc25b0ff
+$(PKG)_REMOTE_SUBDIR := 
+$(PKG)_SUBDIR   := generate_html-$($(PKG)_VERSION)
+$(PKG)_FILE     := generate_html-$($(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="generate_html-\([0-9][^"]*\).tar.gz".*,\1,p' | \
+    head -1
+endef
+
+define $(PKG)_BUILD
+    $(OCTAVE_FORGE_PKG_BUILD)
+endef