Mercurial > mxe-octave
annotate src/build-autoconf.mk @ 4114:02c9f7e9792e
merge away extra head on default
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 23 Mar 2016 08:50:22 -0400 |
parents | 13be64f9f16d |
children | 0e56fe2d2ef5 |
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 |
7145a94e4f4e
build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
21 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; |
7145a94e4f4e
build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
22 echo $($(PKG)_VERSION) |
7145a94e4f4e
build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
23 endef |
7145a94e4f4e
build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
24 |
7145a94e4f4e
build autoconf, automake, libtool, and cmake instead of expecting them to exist
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
25 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
|
26 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
|
27 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
|
28 --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
|
29 $(MAKE) -C '$(1).build' -j '$(JOBS)' |
3293
cf6f40cededb
Support file list generation in packages.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3286
diff
changeset
|
30 $(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
|
31 endef |