Mercurial > mxe-octave
view src/gnuplot.mk @ 3557:b1a7cff2d2a9
Add octave forge of-netcdf package (and support files)
* src/of-netcdf.mk: New file.
* src/netcdf.mk: Update checksum for version 4.3.0, install to DESTDIR.
* src/hdf5.mk: make make and make install separate, modify libtool script to enable dynamic build of all sub libraries.
* index.html: added of-netcdf
* dist-files.mk: add of-netcdf.mk
* Makefile.in: add of-netcdf
* build_packages.m: add install of netcdf-1.0.2.tar.gz
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Thu, 06 Mar 2014 18:34:21 -0500 |
parents | 13be64f9f16d |
children | 1ab2022ff6c7 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := gnuplot $(PKG)_IGNORE := $(PKG)_VERSION := 4.6.4 $(PKG)_CHECKSUM := 54ee5ce9a0a2698b046064bd275e772673350013 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := gnuplot-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://sourceforge.net/projects/gnuplot/files/gnuplot/$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := define $(PKG)_UPDATE echo 'Warning: Updates are temporarily disabled for package gnuplot.' >&2; echo $(gnuplot_VERSION) endef ifeq ($(MXE_SYSTEM),mingw) define $(PKG)_BUILD make -C '$(1)/config/mingw' CC='$(MXE_CC)' CXX='$(MXE_CXX)' RC='$(MXE_WINDRES)' -j '$(JOBS)' TARGET=gnuplot.exe gnuplot.exe make -C '$(1)/config/mingw' CC='$(MXE_CC)' CXX='$(MXE_CXX)' RC='$(MXE_WINDRES)' -j '$(JOBS)' TARGET=wgnuplot.exe wgnuplot.exe $(INSTALL) -d '$(3)$(HOST_BINDIR)' $(INSTALL) -m755 '$(1)/config/mingw/gnuplot.exe' '$(3)$(HOST_BINDIR)' $(INSTALL) -m755 '$(1)/config/mingw/wgnuplot.exe' '$(3)$(HOST_BINDIR)' $(INSTALL) -m644 '$(1)/src/win/wgnuplot.mnu' '$(3)$(HOST_BINDIR)' ## MG: not sure what to do with these and how to integrate with DESTDIR $(INSTALL) -d '$(TOP_DIR)/gnuplot/bin' $(INSTALL) -m755 '$(1)/config/mingw/gnuplot.exe' '$(TOP_DIR)/gnuplot/bin/' $(INSTALL) -m755 '$(1)/config/mingw/wgnuplot.exe' '$(TOP_DIR)/gnuplot/bin/' $(INSTALL) -m644 '$(1)/src/win/wgnuplot.mnu' '$(TOP_DIR)/gnuplot/bin/' endef else ifeq ($(MXE_SYSTEM),msvc) define $(PKG)_BUILD $(INSTALL) -d '$(3)$(HOST_PREFIX)' cd '$(1)/config/msvc' && \ env -u MAKE -u MAKEFLAGS nmake DESTDIR=$(shell (cd '$(HOST_PREFIX)' && pwd -W) | sed -e 's#/#\\\\#g') && \ env -u MAKE -u MAKEFLAGS nmake DESTDIR=$(shell (cd '$(3)$(HOST_PREFIX)' && pwd -W) | sed -e 's#/#\\\\#g') install endef else define $(PKG)_BUILD cd '$(1)' && ./configure \ $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) LIBS=-liconv \ --prefix '$(HOST_PREFIX)' make -C '$(1)' -j '$(JOBS)' install DESTDIR='$(3)' endef endif endif