annotate src/build-gperf.mk @ 3000:ff35d61f226f

include gperf in build tools
author John W. Eaton <jwe@octave.org>
date Tue, 28 May 2013 22:15:58 -0400
parents
children 100e618349f7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3000
ff35d61f226f include gperf in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
ff35d61f226f include gperf in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
ff35d61f226f include gperf in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
ff35d61f226f include gperf in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := build-gperf
ff35d61f226f include gperf in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
ff35d61f226f include gperf in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 $(PKG)_CHECKSUM := e32d4aff8f0c730c9a56554377b2c6d82d0951b8
ff35d61f226f include gperf in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 $(PKG)_SUBDIR := gperf-$($(PKG)_VERSION)
ff35d61f226f include gperf in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_FILE := gperf-$($(PKG)_VERSION).tar.gz
ff35d61f226f include gperf in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/gperf/$($(PKG)_FILE)
ff35d61f226f include gperf in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 $(PKG)_DEPS :=
ff35d61f226f include gperf in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11
ff35d61f226f include gperf in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 define $(PKG)_UPDATE
ff35d61f226f include gperf in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
ff35d61f226f include gperf in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 echo $($(PKG)_VERSION)
ff35d61f226f include gperf in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 endef
ff35d61f226f include gperf in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16
ff35d61f226f include gperf in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 define $(PKG)_BUILD
ff35d61f226f include gperf in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 mkdir '$(1).build'
ff35d61f226f include gperf in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 cd '$(1).build' && '$(1)/configure' \
ff35d61f226f include gperf in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 --prefix='$(PREFIX)'
ff35d61f226f include gperf in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 $(MAKE) -C '$(1).build' -j '$(JOBS)'
ff35d61f226f include gperf in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 $(MAKE) -C '$(1).build' -j 1 install
ff35d61f226f include gperf in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 endef