# HG changeset patch # User John Donoghue # Date 1389655619 18000 # Node ID e7e29aeea726826441d4a87c0c7a934c1570e7ff # Parent 579d71e16ab27cd6cdc38243cd75cf856ef9f360 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. diff -r 579d71e16ab2 -r e7e29aeea726 build_packages.m --- 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 diff -r 579d71e16ab2 -r e7e29aeea726 dist-files.mk --- 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 \ diff -r 579d71e16ab2 -r e7e29aeea726 index.html --- 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 @@ Octave Forge fits package + of-fl-core + 1.0.0 + Octave Forge fl-core package + + of-fuzzy-logic-toolkit 0.4.2 Octave Forge fuzzy-logic-toolkit package diff -r 579d71e16ab2 -r e7e29aeea726 src/of-fl-core-1-fixes.patch --- /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) diff -r 579d71e16ab2 -r e7e29aeea726 src/of-fl-core.mk --- /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