changeset 3191:61a7f9cf1ddb

Include Octave Forge 'linear-algebra' package
author Anirudha Bose <ani07nov@gmail.com>
date Sun, 28 Jul 2013 01:29:13 +0530
parents c0b508176521
children 8c5f17c2bd88
files Makefile.in build_packages.m index.html src/of-linear-algebra.mk
diffstat 4 files changed, 28 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in
+++ b/Makefile.in
@@ -281,7 +281,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)
+OCTAVE_FORGE_PACKAGES := $(addprefix of-,miscellaneous struct optim specfun general signal communications image io statistics control geometry windows odepkg linear-algebra)
 
 MAKE_SHARED_FROM_STATIC := \
   $(TOP_DIR)/tools/make-shared-from-static $(MAKE_SHARED_FROM_STATIC_OPTIONS)
--- a/build_packages.m
+++ b/build_packages.m
@@ -14,3 +14,4 @@
 pkg install geometry-1.7.0.tar.gz
 pkg install windows-1.2.1.tar.gz
 pkg install odepkg-0.8.4.tar.gz
+pkg install linear-algebra-2.2.0.tar.gz
--- a/index.html
+++ b/index.html
@@ -1924,6 +1924,11 @@
         <td id="of-io-website"><a href="http://octave.sf.net/">Octave Forge io package</a></td>
     </tr>
     <tr>
+        <td id="of-linear-algebra-package">of-linear-algebra</td>
+        <td id="of-linear-algebra-version">2.2.0</td>
+        <td id="of-linear-algebra-website"><a href="http://octave.sf.net/">Octave Forge linear-algebra package</a></td>
+    </tr>
+    <tr>
         <td id="of-miscellaneous-package">of-miscellaneous</td>
         <td id="of-miscellaneous-version">1.2.0</td>
         <td id="of-miscellaneous-website"><a href="http://octave.sf.net/">Octave Forge miscellaneous package</a></td>
new file mode 100644
--- /dev/null
+++ b/src/of-linear-algebra.mk
@@ -0,0 +1,21 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG             := of-linear-algebra
+$(PKG)_IGNORE   :=
+$(PKG)_CHECKSUM := 513d69169248c903e57cbf8b6a82e850e377045b
+$(PKG)_REMOTE_SUBDIR :=
+$(PKG)_SUBDIR   :=
+$(PKG)_FILE     := linear-algebra-$($(PKG)_VERSION).tar.gz
+$(PKG)_URL      := '$(OCTAVE_FORGE_BASE_URL)/$($(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
+    mkdir -p '$(HOST_PREFIX)/src'
+    $(INSTALL) -m644 '$(PKG_DIR)/$($(PKG)_FILE)' '$(HOST_PREFIX)/src'
+endef