annotate src/gl2ps.mk @ 3277:1418183e786b

Enable native mingw build of gl2ps * src/gl2ps.mk: In native mingw, force output for MSYS makefiles and dont set AR, RANLIB.
author John Donoghue <john.donoghue@ieee.org>
date Sat, 02 Nov 2013 11:30:58 -0400
parents 3d985d5d48ec
children fbf8f71bf1e6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3275
3d985d5d48ec gl2ps: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
3d985d5d48ec gl2ps: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
3d985d5d48ec gl2ps: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
3d985d5d48ec gl2ps: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := gl2ps
3d985d5d48ec gl2ps: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_CHECKSUM := 792e11db0fe7a30a4dc4491af5098b047ec378b1
3d985d5d48ec gl2ps: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)-source
3d985d5d48ec gl2ps: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tgz
3d985d5d48ec gl2ps: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_URL := http://geuz.org/$(PKG)/src/$($(PKG)_FILE)
3d985d5d48ec gl2ps: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 $(PKG)_DEPS :=
3d985d5d48ec gl2ps: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10
3277
1418183e786b Enable native mingw build of gl2ps
John Donoghue <john.donoghue@ieee.org>
parents: 3275
diff changeset
11
1418183e786b Enable native mingw build of gl2ps
John Donoghue <john.donoghue@ieee.org>
parents: 3275
diff changeset
12 ifeq ($(MXE_NATIVE_MINGW_BUILD),yes)
1418183e786b Enable native mingw build of gl2ps
John Donoghue <john.donoghue@ieee.org>
parents: 3275
diff changeset
13 $(PKG)_CMAKE_FLAGS := -G 'MSYS Makefiles'
1418183e786b Enable native mingw build of gl2ps
John Donoghue <john.donoghue@ieee.org>
parents: 3275
diff changeset
14 else
1418183e786b Enable native mingw build of gl2ps
John Donoghue <john.donoghue@ieee.org>
parents: 3275
diff changeset
15 $(PKG)_CMAKE_FLAGS := \
1418183e786b Enable native mingw build of gl2ps
John Donoghue <john.donoghue@ieee.org>
parents: 3275
diff changeset
16 -DCMAKE_AR='$(MXE_AR)' \
1418183e786b Enable native mingw build of gl2ps
John Donoghue <john.donoghue@ieee.org>
parents: 3275
diff changeset
17 -DCMAKE_RANLIB='$(MXE_RANLIB)'
1418183e786b Enable native mingw build of gl2ps
John Donoghue <john.donoghue@ieee.org>
parents: 3275
diff changeset
18 endif
1418183e786b Enable native mingw build of gl2ps
John Donoghue <john.donoghue@ieee.org>
parents: 3275
diff changeset
19
3275
3d985d5d48ec gl2ps: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 define $(PKG)_UPDATE
3d985d5d48ec gl2ps: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 echo 'Warning: Updates are temporarily disabled for package octave.' >&2;
3d985d5d48ec gl2ps: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 echo $(gl2ps_VERSION)
3d985d5d48ec gl2ps: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 endef
3d985d5d48ec gl2ps: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24
3d985d5d48ec gl2ps: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 define $(PKG)_BUILD
3d985d5d48ec gl2ps: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 cd '$(1)' && cmake \
3277
1418183e786b Enable native mingw build of gl2ps
John Donoghue <john.donoghue@ieee.org>
parents: 3275
diff changeset
27 $($(PKG)_CMAKE_FLAGS) \
3275
3d985d5d48ec gl2ps: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
3d985d5d48ec gl2ps: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29 .
3d985d5d48ec gl2ps: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30 $(MAKE) -C '$(1)' -j '$(JOBS)' VERBOSE=1 install
3d985d5d48ec gl2ps: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
31 endef