Mercurial > mxe-octave
comparison 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 |
comparison
equal
deleted
inserted
replaced
2999:c1b84cca13bd | 3000:ff35d61f226f |
---|---|
1 # This file is part of MXE. | |
2 # See index.html for further information. | |
3 | |
4 PKG := build-gperf | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_CHECKSUM := e32d4aff8f0c730c9a56554377b2c6d82d0951b8 | |
7 $(PKG)_SUBDIR := gperf-$($(PKG)_VERSION) | |
8 $(PKG)_FILE := gperf-$($(PKG)_VERSION).tar.gz | |
9 $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/gperf/$($(PKG)_FILE) | |
10 $(PKG)_DEPS := | |
11 | |
12 define $(PKG)_UPDATE | |
13 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; | |
14 echo $($(PKG)_VERSION) | |
15 endef | |
16 | |
17 define $(PKG)_BUILD | |
18 mkdir '$(1).build' | |
19 cd '$(1).build' && '$(1)/configure' \ | |
20 --prefix='$(PREFIX)' | |
21 $(MAKE) -C '$(1).build' -j '$(JOBS)' | |
22 $(MAKE) -C '$(1).build' -j 1 install | |
23 endef |