changeset 3419:e7e29aeea726

Add octave forge 'fl-core' package * Makefile.in: Add of-fl-core. * build_packages.m: Add install of fl-core-1.0.3.tar.gz * dist-files: Add of-fl-core.mk, of-fl-core-1-fixes.patch. * index.html: Added of-fl-core-package. * src/of-fl-core.mk: New file. * src/of-fl-core-1-fixes.patch: New file.
author John Donoghue <john.donoghue@ieee.org>
date Mon, 13 Jan 2014 18:26:59 -0500
parents 579d71e16ab2
children 207b5f6713d9
files build_packages.m dist-files.mk index.html src/of-fl-core-1-fixes.patch src/of-fl-core.mk
diffstat 5 files changed, 45 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/build_packages.m	Mon Jan 13 18:16:31 2014 -0500
+++ b/build_packages.m	Mon Jan 13 18:26:59 2014 -0500
@@ -22,4 +22,5 @@
 pkg install fuzzy-logic-toolkit-0.4.2.tar.gz
 pkg install quaternion-2.2.0.tar.gz
 pkg install fits-1.0.3.tar.gz
+pkg install fl-core-1.0.0.tar.gz
 
--- a/dist-files.mk	Mon Jan 13 18:16:31 2014 -0500
+++ b/dist-files.mk	Mon Jan 13 18:26:59 2014 -0500
@@ -386,6 +386,8 @@
   of-data-smoothing.mk \
   of-fits.mk \
   of-fits-1-fixes.patch \
+  of-fl-core.mk \
+  of-fl-core-1-fixes.patch \
   of-fuzzy-logic-toolkit.mk \
   of-general.mk \
   of-geometry.mk \
--- a/index.html	Mon Jan 13 18:16:31 2014 -0500
+++ b/index.html	Mon Jan 13 18:26:59 2014 -0500
@@ -1968,6 +1968,11 @@
         <td id="of-fits-website"><a href="http://octave.sf.net/">Octave Forge fits package</a></td>
     </tr>
     <tr>
+        <td id="of-fl-core-package">of-fl-core</td>
+        <td id="of-fl-core-version">1.0.0</td>
+        <td id="of-fl-core-website"><a href="http://octave.sf.net/">Octave Forge fl-core package</a></td>
+    </tr>
+    <tr>
         <td id="of-fuzzy-logic-toolkit-package">of-fuzzy-logic-toolkit</td>
         <td id="of-fuzzy-logic-toolkit-version">0.4.2</td>
         <td id="of-fuzzy-logic-toolkit-website"><a href="http://octave.sf.net/">Octave Forge fuzzy-logic-toolkit package</a></td>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/of-fl-core-1-fixes.patch	Mon Jan 13 18:26:59 2014 -0500
@@ -0,0 +1,17 @@
+--- Makefile.sf	2014-01-12 21:32:17 -0500
++++ Makefile	2014-01-12 21:40:00 -0500
+@@ -3,10 +3,14 @@
+ BASE := $(OCT:.oct=)
+ 
+ ifdef COMSPEC 
++ifneq (,$(findstring mingw,$(shell octave-config -p CANONICAL_HOST_TYPE)))
++	ADDPARAM := -lpthread
++else
+ ifneq ($(shell uname -o),Cygwin)
+ 	ADDPARAM := -lpthreadVC2
+ endif
+ endif
++endif
+ 
+ .phony: all
+ all: $(OCT)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/of-fl-core.mk	Mon Jan 13 18:26:59 2014 -0500
@@ -0,0 +1,20 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG             := of-fl-core
+$(PKG)_IGNORE   :=
+$(PKG)_CHECKSUM := 6aecd4611879acaae1918025148cc09e197e0e82
+$(PKG)_REMOTE_SUBDIR := 
+$(PKG)_SUBDIR   := fl-core
+$(PKG)_FILE     := fl-core-$($(PKG)_VERSION).tar.gz
+$(PKG)_URL      := http://$(SOURCEFORGE_MIRROR)/octave/$($(PKG)_FILE)?download
+$(PKG)_DEPS     := 
+
+define $(PKG)_UPDATE
+    echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
+    echo $($(PKG)_VERSION)
+endef
+
+define $(PKG)_BUILD
+    $(OCTAVE_FORGE_PKG_BUILD)
+endef