annotate src/pstoedit.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 824f84572d1e
children 690a00576e5e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2952
09a58eb274f4 Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
09a58eb274f4 Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
09a58eb274f4 Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
09a58eb274f4 Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := pstoedit
09a58eb274f4 Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
09a58eb274f4 Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 $(PKG)_CHECKSUM := 426f3746ecb441caa0db401d5880e1ac04a399d5
09a58eb274f4 Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
09a58eb274f4 Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
09a58eb274f4 Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 $(PKG)_URL := https://sourceforge.net/projects/pstoedit/files/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE)/download
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3024
diff changeset
10 $(PKG)_DEPS :=
2952
09a58eb274f4 Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11
09a58eb274f4 Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 define $(PKG)_UPDATE
09a58eb274f4 Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 echo 'Warning: Updates are temporarily disabled for package pstoedit.' >&2;
09a58eb274f4 Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 echo $(pstoedit_VERSION)
09a58eb274f4 Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 endef
09a58eb274f4 Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16
09a58eb274f4 Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 define $(PKG)_BUILD
09a58eb274f4 Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 cd '$(1)' && autoreconf
09a58eb274f4 Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 mkdir '$(1)/.build'
09a58eb274f4 Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 cd '$(1)/.build' && '$(1)/configure' \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
21 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
3024
15cbbf983fa0 Update graphicsmagick and pstoedit to use XME_CONFIGURE flags.
John Donoghue <john.donoghue@ieee.org>
parents: 3013
diff changeset
22 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
3124
824f84572d1e [MSVC] enable pstoedit compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
23 --prefix='$(HOST_PREFIX)' \
824f84572d1e [MSVC] enable pstoedit compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
24 && $(CONFIGURE_POST_HOOK)
2952
09a58eb274f4 Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25
3293
cf6f40cededb Support file list generation in packages.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3124
diff changeset
26 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)'
2952
09a58eb274f4 Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 endef