annotate src/build-m4.mk @ 3201:ce8bf9230005

build-m4: new package
author John W. Eaton <jwe@octave.org>
date Mon, 05 Aug 2013 22:19:46 -0400
parents
children 7fb479d0241c
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 :=
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 $(PKG)_CHECKSUM := 44b3ed8931f65cdab02aee66ae1e49724d2551a4
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 $(PKG)_SUBDIR := m4-$($(PKG)_VERSION)
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_FILE := m4-$($(PKG)_VERSION).tar.gz
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 $(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
10 $(PKG)_DEPS :=
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 define $(PKG)_UPDATE
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 echo $($(PKG)_VERSION)
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 endef
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 define $(PKG)_BUILD
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 mkdir '$(1).build'
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 cd '$(1).build' && '$(1)/configure' \
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 --prefix='$(BUILD_TOOLS_PREFIX)'
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 $(MAKE) -C '$(1).build' -j '$(JOBS)'
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 $(MAKE) -C '$(1).build' -j 1 install
ce8bf9230005 build-m4: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 endef