annotate src/build-libtool.mk @ 4555:c2d59e7a4ad3

libtool, fontconfig update * src/build-libtool.mk, src/libtool.mk: update version, checksum * src/fontconfig.mk: update version, checksum * src/hdf5.mk: call aclocal and libttolize in build * src/gl2ps.mk: call aclocal and libttolize in build
author John D
date Tue, 28 Nov 2017 15:43:53 -0500
parents 0e56fe2d2ef5
children 6b02060ae71c
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-libtool
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 :=
4555
c2d59e7a4ad3 libtool, fontconfig update
John D
parents: 4545
diff changeset
6 $(PKG)_VERSION := 2.4.6
c2d59e7a4ad3 libtool, fontconfig update
John D
parents: 4545
diff changeset
7 $(PKG)_CHECKSUM := 25b6931265230a06f0fc2146df64c04e5ae6ec33
2971
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 := libtool-$($(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 := libtool-$($(PKG)_VERSION).tar.gz
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/libtool/$($(PKG)_FILE)
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 $(PKG)_DEPS :=
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12
3121
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
13 ifeq ($(MXE_SYSTEM),msvc)
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
14 $(PKG)_DEPS += build-msvctools
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
15 $(PKG)_CONFIGURE_OPTIONS := \
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
16 CC='$(MXE_CC)' CXX='$(MXE_CXX)' F77='$(MXE_F77)' ac_cv_f77_compiler_gnu=no \
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
17 FC='$(MXE_F77)' ac_cv_fc_compiler_gnu=no
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
18 else
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
19 $(PKG)_CONFIGURE_OPTIONS :=
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
20 endif
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
21
2971
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 define $(PKG)_UPDATE
4545
0e56fe2d2ef5 Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents: 3480
diff changeset
23 $(WGET) -q -O- 'http://ftp.gnu.org/gnu/libtool/?C=M;O=D' | \
0e56fe2d2ef5 Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents: 3480
diff changeset
24 $(SED) -n 's,.*<a href="libtool-\([0-9\.]*\)\.tar.*,\1,p' | \
0e56fe2d2ef5 Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents: 3480
diff changeset
25 $(SORT) -V | \
0e56fe2d2ef5 Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents: 3480
diff changeset
26 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
27 endef
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29 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
30 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
31 cd '$(1).build' && '$(1)/configure' \
3121
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
32 --prefix='$(BUILD_TOOLS_PREFIX)' \
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
33 $($(PKG)_CONFIGURE_OPTIONS)
2971
7145a94e4f4e build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff changeset
34 $(MAKE) -C '$(1).build' -j '$(JOBS)'
3121
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
35 if test x$(MXE_SYSTEM) = xmsvc; then \
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
36 cd '$(1).build' && $(CONFIGURE_POST_HOOK); \
21f598a028ec [MSVC] enable ncurses compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
37 fi
3293
cf6f40cededb Support file list generation in packages.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3121
diff changeset
38 $(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
39 endef