Mercurial > mxe-octave
view src/gl2ps.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 | fbf8f71bf1e6 |
children | 14d0e2102581 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := gl2ps $(PKG)_CHECKSUM := 792e11db0fe7a30a4dc4491af5098b047ec378b1 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)-source $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tgz $(PKG)_URL := http://geuz.org/$(PKG)/src/$($(PKG)_FILE) $(PKG)_DEPS := ifeq ($(MXE_NATIVE_MINGW_BUILD),yes) $(PKG)_CMAKE_FLAGS := -G 'MSYS Makefiles' else $(PKG)_CMAKE_FLAGS := \ -DCMAKE_AR='$(MXE_AR)' \ -DCMAKE_RANLIB='$(MXE_RANLIB)' endif define $(PKG)_UPDATE echo 'Warning: Updates are temporarily disabled for package octave.' >&2; echo $(gl2ps_VERSION) endef define $(PKG)_BUILD cd '$(1)' && cmake \ $($(PKG)_CMAKE_FLAGS) \ -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ . $(MAKE) -C '$(1)' -j '$(JOBS)' VERBOSE=1 # native mingw build doesnt want to install the files, even # though it logs that it did if [ x$(MXE_NATIVE_MINGW_BUILD) = xyes ]; then \ $(INSTALL) -m644 '$(1)/libgl2ps.a' '$(HOST_LIBDIR)'; \ $(INSTALL) -m644 '$(1)/libgl2ps.dll.a' '$(HOST_LIBDIR)'; \ $(INSTALL) -m644 '$(1)/libgl2ps.dll' '$(HOST_BINDIR)'; \ $(INSTALL) -m644 '$(1)/gl2ps.h' '$(HOST_INCDIR)'; \ else \ $(MAKE) -C '$(1)' -j 1 VERBOSE=1 install; \ if [ $(MXE_SYSTEM) = mingw ]; then \ echo "Install dll"; \ $(INSTALL) '$(1)/libgl2ps.dll' '$(HOST_BINDIR)/'; \ fi; \ fi endef