annotate src/plotutils.mk @ 3256:7fb479d0241c

Update build tools for native mingw * src/build-m4.mk: do nothing for native mingw build * Makefile.in: - add bison, m4 as natve mingw, and python as jit build requirements. - remove build-bison as a mingw build dependancy * index.html: Add msys-bison to mingw required packages and mention ghostscript and python.
author John Donoghue <john.donoghue@ieee.org>
date Thu, 26 Sep 2013 21:18:39 -0400
parents 5ef49fb3299d
children 13be64f9f16d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 1354
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
532
a298ac430b8e new package: plotutils (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
a298ac430b8e new package: plotutils (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := plotutils
a298ac430b8e new package: plotutils (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
a298ac430b8e new package: plotutils (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_CHECKSUM := 7921301d9dfe8991e3df2829bd733df6b2a70838
a298ac430b8e new package: plotutils (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
a298ac430b8e new package: plotutils (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
a298ac430b8e new package: plotutils (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_URL := http://ftpmirror.gnu.org/$(PKG)/$($(PKG)_FILE)
a298ac430b8e new package: plotutils (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_URL_2 := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
11 $(PKG)_DEPS := libpng pthreads
532
a298ac430b8e new package: plotutils (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
a298ac430b8e new package: plotutils (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2365
diff changeset
14 $(WGET) -q -O- 'http://ftp.gnu.org/gnu/plotutils/?C=M;O=D' | \
532
a298ac430b8e new package: plotutils (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 grep '<a href="plotutils-' | \
1354
5646072a0081 improved version recognition of packages: boost gmp plotutils vmime
Volker Grabsch <vog@notjusthosting.com>
parents: 938
diff changeset
16 $(SED) -n 's,.*plotutils-\([0-9][^<]*\)\.tar.*,\1,p' | \
532
a298ac430b8e new package: plotutils (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 head -1
a298ac430b8e new package: plotutils (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 endef
a298ac430b8e new package: plotutils (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19
a298ac430b8e new package: plotutils (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 define $(PKG)_BUILD
a298ac430b8e new package: plotutils (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 cd '$(1)' && ./configure \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
22 --prefix='$(HOST_PREFIX)' \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
23 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
2855
47558e958113 Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents: 2525
diff changeset
24 $(ENABLE_SHARED_OR_STATIC) \
532
a298ac430b8e new package: plotutils (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --enable-libplotter \
a298ac430b8e new package: plotutils (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --enable-libxmi \
a298ac430b8e new package: plotutils (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --with-png \
a298ac430b8e new package: plotutils (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 --without-x \
a298ac430b8e new package: plotutils (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 CFLAGS='-DNO_SYSTEM_GAMMA'
a298ac430b8e new package: plotutils (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= man_MANS= INFO_DEPS=
a298ac430b8e new package: plotutils (by Bart van Andel)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 endef