changeset 3188:4d4f59f1c5e6

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