changeset 3190:c0b508176521

Include Octave Forge 'odepkg' package
author Anirudha Bose <ani07nov@gmail.com>
date Sun, 28 Jul 2013 00:46:28 +0530
parents f5640ebf00b0
children 61a7f9cf1ddb
files Makefile.in build_packages.m index.html src/of-odepkg.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)
+OCTAVE_FORGE_PACKAGES := $(addprefix of-,miscellaneous struct optim specfun general signal communications image io statistics control geometry windows odepkg)
 
 MAKE_SHARED_FROM_STATIC := \
   $(TOP_DIR)/tools/make-shared-from-static $(MAKE_SHARED_FROM_STATIC_OPTIONS)
--- a/build_packages.m
+++ b/build_packages.m
@@ -13,3 +13,4 @@
 pkg install statistics-1.1.3.tar.gz
 pkg install geometry-1.7.0.tar.gz
 pkg install windows-1.2.1.tar.gz
+pkg install odepkg-0.8.4.tar.gz
--- a/index.html
+++ b/index.html
@@ -1929,6 +1929,11 @@
         <td id="of-miscellaneous-website"><a href="http://octave.sf.net/">Octave Forge miscellaneous package</a></td>
     </tr>
     <tr>
+        <td id="of-odepkg-package">of-odepkg</td>
+        <td id="of-odepkg-version">0.8.4</td>
+        <td id="of-odepkg-website"><a href="http://octave.sf.net/">Octave Forge odepkg package</a></td>
+    </tr>
+    <tr>
         <td id="of-optim-package">of-optim</td>
         <td id="of-optim-version">1.2.2</td>
         <td id="of-optim-website"><a href="http://octave.sf.net/">Octave Forge optim package</a></td>
new file mode 100644
--- /dev/null
+++ b/src/of-odepkg.mk
@@ -0,0 +1,21 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG             := of-odepkg
+$(PKG)_IGNORE   :=
+$(PKG)_CHECKSUM := 74b7e88ad5a104e064c413f077a5e5327741efb4
+$(PKG)_REMOTE_SUBDIR :=
+$(PKG)_SUBDIR   :=
+$(PKG)_FILE     := odepkg-$($(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