Mercurial > mxe-octave
view src/gnuplot.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 | 53c8b9c843c6 |
children | 13be64f9f16d |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := gnuplot $(PKG)_IGNORE := $(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