annotate src/build-autoconf.mk @ 4545:0e56fe2d2ef5

Makefile.in: add update-build-tools target * Makefile.in: add update-build-tools target * src/build-autoconf.mk, src/build-automake.mk, src/build-bison.mk, src/build-gawk.mk, src/build-gcc.mk, src/build-gettext.mk, src/build-gperf.mk, src/build-m4.mk, src/build-texinfo.mk, src/build-libtool.mk : update PKG_UPDATE for getting latest version from gnu.org * src/build-cmake.mk, src/build-flex.mk, src/build-lzip.mk, src/build-pkg-config.mk, src/pkg-config.mk, src/build-scons.mk : add implemented PKG_UPDATE macro
author John Donoghue <john.donoghue@ieee.org>
date Thu, 23 Nov 2017 12:05:29 -0500
parents 13be64f9f16d
children 2d3ad30acfc0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2971
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := build-autoconf
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
3480
13be64f9f16d move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents: 3293
diff changeset
6 $(PKG)_VERSION := 2.69
2971
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 $(PKG)_CHECKSUM := e891c3193029775e83e0534ac0ee0c4c711f6d23
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_SUBDIR := autoconf-$($(PKG)_VERSION)
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 $(PKG)_FILE := autoconf-$($(PKG)_VERSION).tar.xz
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/autoconf/$($(PKG)_FILE)
3286
29e227f8bef6 Don't depend on build-m4/build-xz for MSVC and native-MinGW.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3201
diff changeset
11 $(PKG)_DEPS :=
29e227f8bef6 Don't depend on build-m4/build-xz for MSVC and native-MinGW.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3201
diff changeset
12
29e227f8bef6 Don't depend on build-m4/build-xz for MSVC and native-MinGW.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3201
diff changeset
13 ifneq ($(MXE_SYSTEM),msvc)
29e227f8bef6 Don't depend on build-m4/build-xz for MSVC and native-MinGW.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3201
diff changeset
14 ifneq ($(MXE_NATIVE_MINGW_BUILD),yes)
29e227f8bef6 Don't depend on build-m4/build-xz for MSVC and native-MinGW.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3201
diff changeset
15 $(PKG)_DEPS += build-m4
29e227f8bef6 Don't depend on build-m4/build-xz for MSVC and native-MinGW.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3201
diff changeset
16 endif
29e227f8bef6 Don't depend on build-m4/build-xz for MSVC and native-MinGW.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3201
diff changeset
17 $(PKG)_DEPS += build-xz
29e227f8bef6 Don't depend on build-m4/build-xz for MSVC and native-MinGW.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3201
diff changeset
18 endif
2971
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 define $(PKG)_UPDATE
4545
0e56fe2d2ef5 Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents: 3480
diff changeset
21 $(WGET) -q -O- 'http://ftp.gnu.org/gnu/autoconf/?C=M;O=D' | \
0e56fe2d2ef5 Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents: 3480
diff changeset
22 $(SED) -n 's,.*<a href="autoconf-\([0-9\.]*\)\.tar.*,\1,p' | \
0e56fe2d2ef5 Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents: 3480
diff changeset
23 $(SORT) -V | \
0e56fe2d2ef5 Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents: 3480
diff changeset
24 tail -1
2971
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 endef
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 define $(PKG)_BUILD
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 mkdir '$(1).build'
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29 cd '$(1).build' && '$(1)/configure' \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2971
diff changeset
30 --prefix='$(BUILD_TOOLS_PREFIX)'
2971
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
31 $(MAKE) -C '$(1).build' -j '$(JOBS)'
3293
cf6f40cededb Support file list generation in packages.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3286
diff changeset
32 $(MAKE) -C '$(1).build' -j 1 install DESTDIR='$(3)'
2971
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
33 endef