annotate src/gnuplot.mk @ 3281:53c8b9c843c6

Update gnuplot to 4.6.4 * index,html: update gnuplot-version tag to 4.6.4. * src/gnuplot.mk: update checksum and build rules for 4.6.4. * src/gnuplot-1-fixes.patch: update patch for 4.6.4.
author John Donoghue <john.donoghue@ieee.org>
date Mon, 04 Nov 2013 12:57:10 -0500
parents c05da3e2f652
children cf6f40cededb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2891
848118c648ae Include gnuplot as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
848118c648ae Include gnuplot as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
848118c648ae Include gnuplot as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
848118c648ae Include gnuplot as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := gnuplot
848118c648ae Include gnuplot as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
3281
53c8b9c843c6 Update gnuplot to 4.6.4
John Donoghue <john.donoghue@ieee.org>
parents: 3221
diff changeset
6 $(PKG)_CHECKSUM := 54ee5ce9a0a2698b046064bd275e772673350013
2891
848118c648ae Include gnuplot as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
848118c648ae Include gnuplot as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_FILE := gnuplot-$($(PKG)_VERSION).tar.gz
3281
53c8b9c843c6 Update gnuplot to 4.6.4
John Donoghue <john.donoghue@ieee.org>
parents: 3221
diff changeset
9 $(PKG)_URL := http://sourceforge.net/projects/gnuplot/files/gnuplot/$($(PKG)_VERSION)/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3022
diff changeset
10 $(PKG)_DEPS :=
2891
848118c648ae Include gnuplot as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11
848118c648ae Include gnuplot as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 define $(PKG)_UPDATE
848118c648ae Include gnuplot as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 echo 'Warning: Updates are temporarily disabled for package gnuplot.' >&2;
848118c648ae Include gnuplot as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 echo $(gnuplot_VERSION)
848118c648ae Include gnuplot as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 endef
848118c648ae Include gnuplot as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2990
diff changeset
17 ifeq ($(MXE_SYSTEM),mingw)
2891
848118c648ae Include gnuplot as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 define $(PKG)_BUILD
3022
a542328fc284 Update freetds,gnuplot to use MXE_XXXX set tools
John Donoghue <john.donoghue@ieee.org>
parents: 3014
diff changeset
19 make -C '$(1)/config/mingw' CC='$(MXE_CC)' CXX='$(MXE_CXX)' RC='$(MXE_WINDRES)' -j '$(JOBS)' TARGET=gnuplot.exe gnuplot.exe
a542328fc284 Update freetds,gnuplot to use MXE_XXXX set tools
John Donoghue <john.donoghue@ieee.org>
parents: 3014
diff changeset
20 make -C '$(1)/config/mingw' CC='$(MXE_CC)' CXX='$(MXE_CXX)' RC='$(MXE_WINDRES)' -j '$(JOBS)' TARGET=wgnuplot.exe wgnuplot.exe
2891
848118c648ae Include gnuplot as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21
3014
b6c7244a2f66 Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
22 $(INSTALL) -d '$(HOST_BINDIR)'
b6c7244a2f66 Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
23 $(INSTALL) -m755 '$(1)/config/mingw/gnuplot.exe' '$(HOST_BINDIR)'
b6c7244a2f66 Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
24 $(INSTALL) -m755 '$(1)/config/mingw/wgnuplot.exe' '$(HOST_BINDIR)'
3281
53c8b9c843c6 Update gnuplot to 4.6.4
John Donoghue <john.donoghue@ieee.org>
parents: 3221
diff changeset
25 $(INSTALL) -m644 '$(1)/src/win/wgnuplot.mnu' '$(HOST_BINDIR)'
2891
848118c648ae Include gnuplot as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2997
diff changeset
27 $(INSTALL) -d '$(TOP_DIR)/gnuplot/bin'
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2997
diff changeset
28 $(INSTALL) -m755 '$(1)/config/mingw/gnuplot.exe' '$(TOP_DIR)/gnuplot/bin/'
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2997
diff changeset
29 $(INSTALL) -m755 '$(1)/config/mingw/wgnuplot.exe' '$(TOP_DIR)/gnuplot/bin/'
3281
53c8b9c843c6 Update gnuplot to 4.6.4
John Donoghue <john.donoghue@ieee.org>
parents: 3221
diff changeset
30 $(INSTALL) -m644 '$(1)/src/win/wgnuplot.mnu' '$(TOP_DIR)/gnuplot/bin/'
2990
5329f4891fb7 build our own bison and flex
John W. Eaton <jwe@octave.org>
parents: 2891
diff changeset
31
2891
848118c648ae Include gnuplot as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
32 endef
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2990
diff changeset
33 else
3115
0e869df2f0ff [MSVC] enable gnuplot compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
34 ifeq ($(MXE_SYSTEM),msvc)
0e869df2f0ff [MSVC] enable gnuplot compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
35 define $(PKG)_BUILD
0e869df2f0ff [MSVC] enable gnuplot compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
36 cd '$(1)/config/msvc' && \
0e869df2f0ff [MSVC] enable gnuplot compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
37 env -u MAKE -u MAKEFLAGS nmake DESTDIR=$(shell (cd '$(HOST_PREFIX)' && pwd -W) | sed -e 's#/#\\\\#g') && \
0e869df2f0ff [MSVC] enable gnuplot compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
38 env -u MAKE -u MAKEFLAGS nmake DESTDIR=$(shell (cd '$(HOST_PREFIX)' && pwd -W) | sed -e 's#/#\\\\#g') install
0e869df2f0ff [MSVC] enable gnuplot compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
39 endef
0e869df2f0ff [MSVC] enable gnuplot compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
40 else
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2990
diff changeset
41 define $(PKG)_BUILD
3221
c05da3e2f652 gnuplot.mk: find locally built libiconv for native builds
John W. Eaton <jwe@octave.org>
parents: 3115
diff changeset
42 cd '$(1)' && ./configure \
c05da3e2f652 gnuplot.mk: find locally built libiconv for native builds
John W. Eaton <jwe@octave.org>
parents: 3115
diff changeset
43 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) LIBS=-liconv \
c05da3e2f652 gnuplot.mk: find locally built libiconv for native builds
John W. Eaton <jwe@octave.org>
parents: 3115
diff changeset
44 --prefix '$(HOST_PREFIX)'
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2990
diff changeset
45 make -C '$(1)' -j '$(JOBS)' install
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2990
diff changeset
46 endef
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2990
diff changeset
47 endif
3115
0e869df2f0ff [MSVC] enable gnuplot compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
48 endif