changeset 2951:01a2b5484d88

Include texinfo as a dependency of Octave
author John W. Eaton <jwe@octave.org>
date Tue, 08 Jan 2013 20:53:50 -0500
parents 1e4435f029c1
children 09a58eb274f4
files index.html src/octave.mk src/texinfo.mk
diffstat 3 files changed, 34 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/index.html	Tue Jan 08 20:38:38 2013 -0500
+++ b/index.html	Tue Jan 08 20:53:50 2013 -0500
@@ -1959,6 +1959,11 @@
         <td id="termcap-website"><a href="ftp://ftp.gnu.org/gnu/termcap/">GNU termcap</a></td>
     </tr>
     <tr>
+        <td id="texinfo-package">texinfo</td>
+        <td id="texinfo-version">4.13a</td>
+        <td id="texinfo-website"><a href="http://www.gnu.org/software/texinfo/">GNU Texinfo</a></td>
+    </tr>
+    <tr>
         <td id="theora-package">theora</td>
         <td id="theora-version">1.1.1</td>
         <td id="theora-website"><a href="http://theora.org/">Theora</a></td>
--- a/src/octave.mk	Tue Jan 08 20:38:38 2013 -0500
+++ b/src/octave.mk	Tue Jan 08 20:53:50 2013 -0500
@@ -7,7 +7,7 @@
 $(PKG)_SUBDIR   := $(PKG)-$($(PKG)_VERSION)
 $(PKG)_FILE     := octave-$($(PKG)_VERSION).tar.gz
 $(PKG)_URL      := ftp://alpha.gnu.org/gnu/octave/$($(PKG)_FILE)
-$(PKG)_DEPS     := arpack blas curl fftw fltk gcc glpk gnuplot graphicsmagick lapack llvm pcre qhull qrupdate qscintilla qt readline suitesparse zlib
+$(PKG)_DEPS     := arpack blas curl fftw fltk gcc glpk gnuplot graphicsmagick lapack llvm pcre qhull qrupdate qscintilla qt readline suitesparse texinfo zlib
 
 define $(PKG)_UPDATE
     echo 'Warning: Updates are temporarily disabled for package octave.' >&2;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/texinfo.mk	Tue Jan 08 20:53:50 2013 -0500
@@ -0,0 +1,28 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG             := texinfo
+$(PKG)_IGNORE   :=
+$(PKG)_CHECKSUM := a1533cf8e03ea4fa6c443b73f4c85e4da04dead0
+$(PKG)_SUBDIR   := $(PKG)-4.13
+$(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.gz
+$(PKG)_URL      := ftp://ftp.gnu.org/gnu/texinfo/$($(PKG)_FILE)
+$(PKG)_DEPS     := libgnurx
+
+define $(PKG)_UPDATE
+    echo 'Warning: Updates are temporarily disabled for package texinfo.' >&2;
+    echo $(texinfo_VERSION)
+endef
+
+define $(PKG)_BUILD
+    mkdir '$(1)/.build'
+    cd '$(1)/.build' && '$(1)/configure' \
+        --host='$(TARGET)' \
+        --build="`config.guess`" \
+        --prefix='$(PREFIX)/$(TARGET)'
+
+    ## All we need for Octave is makeinfo.
+    $(MAKE) -C '$(1)/.build/lib' -j '$(JOBS)'
+    $(MAKE) -C '$(1)/.build/gnulib/lib' -j '$(JOBS)'
+    $(MAKE) -C '$(1)/.build/makeinfo' -j '$(JOBS)' install
+endef