changeset 3004:b994e523cfac

include texinfo in build tools
author John W. Eaton <jwe@octave.org>
date Thu, 30 May 2013 13:12:04 -0400
parents 7d692ab680ab
children c154d525c70e
files index.html src/build-texinfo.mk
diffstat 2 files changed, 28 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/index.html	Wed May 29 20:54:04 2013 -0400
+++ b/index.html	Thu May 30 13:12:04 2013 -0400
@@ -1009,6 +1009,11 @@
         <td id="build-pkg-config-website"><a href="http://www.freedesktop.org/wiki/Software/pkg-config">pkg-config</a></td>
     </tr>
     <tr>
+        <td id="build-texinfo-package">texinfo</td>
+        <td id="build-texinfo-version">5.1</td>
+        <td id="build-texinfo-website"><a href="http://www.gnu.org/software/texinfo">texinfo</a></td>
+    </tr>
+    <tr>
         <td id="bzip2-package">bzip2</td>
         <td id="bzip2-version">1.0.6</td>
         <td id="bzip2-website"><a href="http://www.bzip.org/">bzip2</a></td>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/build-texinfo.mk	Thu May 30 13:12:04 2013 -0400
@@ -0,0 +1,23 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG             := build-texinfo
+$(PKG)_IGNORE   :=
+$(PKG)_CHECKSUM := ed5aa2b93910dde4eacd5d649329a49db701878c
+$(PKG)_SUBDIR   := texinfo-$($(PKG)_VERSION)
+$(PKG)_FILE     := texinfo-$($(PKG)_VERSION).tar.xz
+$(PKG)_URL      := ftp://ftp.gnu.org/pub/gnu/texinfo/$($(PKG)_FILE)
+$(PKG)_DEPS     := 
+
+define $(PKG)_UPDATE
+    echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
+    echo $($(PKG)_VERSION)
+endef
+
+define $(PKG)_BUILD
+    mkdir '$(1).build'
+    cd    '$(1).build' && '$(1)/configure' \
+        --prefix='$(PREFIX)'
+    $(MAKE) -C '$(1).build' -j '$(JOBS)'
+    $(MAKE) -C '$(1).build' -j 1 install
+endef