view src/texinfo.mk @ 3480:13be64f9f16d

move version info from index.html to src/*.mk files
author John W. Eaton <jwe@octave.org>
date Fri, 31 Jan 2014 16:04:01 -0500
parents 81544b3fe0ca
children 8d5ea2642115
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

PKG             := texinfo
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 5.2
$(PKG)_CHECKSUM := fbbc35c5857d11d1164c8445c78b66ad6d472072
$(PKG)_SUBDIR   := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.xz
$(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' \
        $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
        $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
        --prefix='$(HOST_PREFIX)'

    for d in gnulib/lib install-info tp util; do \
      $(MAKE) -C '$(1).build' -C $$d -j '$(JOBS)'; \
    done
    for d in gnulib/lib install-info tp util; do \
      $(MAKE) -C '$(1).build' -C $$d -j '$(JOBS)' install DESTDIR='$(3)'; \
    done
endef