Mercurial > mxe-octave
comparison src/gnuplot.mk @ 2891:848118c648ae
Include gnuplot as a dependency of Octave
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 03 Dec 2012 09:15:05 -0500 |
parents | |
children | 5329f4891fb7 |
comparison
equal
deleted
inserted
replaced
2890:152e3e693568 | 2891:848118c648ae |
---|---|
1 # This file is part of MXE. | |
2 # See index.html for further information. | |
3 | |
4 PKG := gnuplot | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_CHECKSUM := 1ea21a628223159b0297ae65fe8293afd5aab3c0 | |
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | |
8 $(PKG)_FILE := gnuplot-$($(PKG)_VERSION).tar.gz | |
9 $(PKG)_URL := http://sourceforge.net/projects/gnuplot/files/gnuplot/4.6.1/$($(PKG)_FILE) | |
10 $(PKG)_DEPS := gcc | |
11 | |
12 define $(PKG)_UPDATE | |
13 echo 'Warning: Updates are temporarily disabled for package gnuplot.' >&2; | |
14 echo $(gnuplot_VERSION) | |
15 endef | |
16 | |
17 define $(PKG)_BUILD | |
18 make -C '$(1)/config/mingw' CC='$(TARGET)-gcc' CXX='$(TARGET)-g++' RC='$(TARGET)-windres' -j '$(JOBS)' TARGET=gnuplot.exe gnuplot.exe | |
19 make -C '$(1)/config/mingw' CC='$(TARGET)-gcc' CXX='$(TARGET)-g++' RC='$(TARGET)-windres' -j '$(JOBS)' TARGET=wgnuplot.exe wgnuplot.exe | |
20 make -C '$(1)/config/mingw' CC='$(TARGET)-gcc' CXX='$(TARGET)-g++' RC='$(TARGET)-windres' -j '$(JOBS)' wgnuplot.mnu | |
21 | |
22 $(INSTALL) -d '$(PREFIX)/$(TARGET)/bin' | |
23 $(INSTALL) -m755 '$(1)/config/mingw/gnuplot.exe' '$(PREFIX)/$(TARGET)/bin/' | |
24 $(INSTALL) -m755 '$(1)/config/mingw/wgnuplot.exe' '$(PREFIX)/$(TARGET)/bin/' | |
25 $(INSTALL) -m644 '$(1)/config/mingw/wgnuplot.mnu' '$(PREFIX)/$(TARGET)/bin/' | |
26 | |
27 endef |