annotate src/build-m4.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 29e227f8bef6
children cdf855c2f26f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3201
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := build-m4
ce8bf9230005 build-m4: new package
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: 3286
diff changeset
6 $(PKG)_VERSION := 1.4.16
3201
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 $(PKG)_CHECKSUM := 44b3ed8931f65cdab02aee66ae1e49724d2551a4
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_SUBDIR := m4-$($(PKG)_VERSION)
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 $(PKG)_FILE := m4-$($(PKG)_VERSION).tar.gz
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/m4/$($(PKG)_FILE)
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 $(PKG)_DEPS :=
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 define $(PKG)_UPDATE
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 echo $($(PKG)_VERSION)
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 endef
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 define $(PKG)_BUILD
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 mkdir '$(1).build'
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 cd '$(1).build' && '$(1)/configure' \
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 --prefix='$(BUILD_TOOLS_PREFIX)'
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 $(MAKE) -C '$(1).build' -j '$(JOBS)'
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 $(MAKE) -C '$(1).build' -j 1 install
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 endef