Mercurial > mxe-octave
changeset 3000:ff35d61f226f
include gperf in build tools
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 28 May 2013 22:15:58 -0400 |
parents | c1b84cca13bd |
children | 14a434dcf672 |
files | index.html src/build-gperf.mk |
diffstat | 2 files changed, 28 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/index.html Tue May 28 19:13:25 2013 -0400 +++ b/index.html Tue May 28 22:15:58 2013 -0400 @@ -994,6 +994,11 @@ <td id="build-flex-website"><a href="http://flex.sourceforge.net">flex</a></td> </tr> <tr> + <td id="build-gperf-package">gperf</td> + <td id="build-gperf-version">3.0.4</td> + <td id="build-gperf-website"><a href="http://www.gnu.org/software/gperf">gperf</a></td> + </tr> + <tr> <td id="build-libtool-package">libtool</td> <td id="build-libtool-version">2.4.2</td> <td id="build-libtool-website"><a href="http://www.gnu.org/software/libtool">libtool</a></td>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/build-gperf.mk Tue May 28 22:15:58 2013 -0400 @@ -0,0 +1,23 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := build-gperf +$(PKG)_IGNORE := +$(PKG)_CHECKSUM := e32d4aff8f0c730c9a56554377b2c6d82d0951b8 +$(PKG)_SUBDIR := gperf-$($(PKG)_VERSION) +$(PKG)_FILE := gperf-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/gperf/$($(PKG)_FILE) +$(PKG)_DEPS := + +define $(PKG)_UPDATE + echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; + echo $($(PKG)_VERSION) +endef + +define $(PKG)_BUILD + mkdir '$(1).build' + cd '$(1).build' && '$(1)/configure' \ + --prefix='$(PREFIX)' + $(MAKE) -C '$(1).build' -j '$(JOBS)' + $(MAKE) -C '$(1).build' -j 1 install +endef