annotate src/build-gperf.mk @ 3293:cf6f40cededb

Support file list generation in packages. For the following modules: - arpack - blas - build-autoconf - build-automake - build-cmake - build-gperf - build-libtool - build-msvctools - build-pkg-config - build-texinfo - bzip2 - curl - dbus - expat - fftw - fltk - fontconfig - freetype - gettext - glpk - gmp - gnuplot - gnutls - graphicsmagick - hdf5 - jasper - jpeg - lapack - lcms - libgcrypt - libgpg_error - libiconv - libidn - libpng - libssh2 - libxml2 - ncurses - nettle - openssl - pcre - pstoedit - zlib - qhull - qrupdate - qscintilla - qt - readline - suitesparse - texinfo - tiff
author Michael Goffioul <michael.goffioul@gmail.com>
date Sat, 09 Nov 2013 23:28:04 -0500
parents 100e618349f7
children 13be64f9f16d
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' \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 3000
diff changeset
20 --prefix='$(BUILD_TOOLS_PREFIX)'
3000
ff35d61f226f include gperf in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 $(MAKE) -C '$(1).build' -j '$(JOBS)'
3293
cf6f40cededb Support file list generation in packages.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
22 $(MAKE) -C '$(1).build' -j 1 install DESTDIR='$(3)'
3000
ff35d61f226f include gperf in build tools
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 endef