Mercurial > mxe-octave
annotate src/pstoedit.mk @ 3124:824f84572d1e
[MSVC] enable pstoedit compilation
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Sat, 06 Jul 2013 00:06:12 -0400 |
parents | 5ef49fb3299d |
children | cf6f40cededb |
rev | line source |
---|---|
2952
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1 # This file is part of MXE. |
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 # See index.html for further information. |
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
3 |
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 PKG := pstoedit |
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
6 $(PKG)_CHECKSUM := 426f3746ecb441caa0db401d5880e1ac04a399d5 |
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 $(PKG)_URL := https://sourceforge.net/projects/pstoedit/files/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE)/download |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3024
diff
changeset
|
10 $(PKG)_DEPS := |
2952
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
11 |
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 define $(PKG)_UPDATE |
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
13 echo 'Warning: Updates are temporarily disabled for package pstoedit.' >&2; |
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
14 echo $(pstoedit_VERSION) |
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
15 endef |
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
16 |
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
17 define $(PKG)_BUILD |
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
18 cd '$(1)' && autoreconf |
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
19 mkdir '$(1)/.build' |
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
20 cd '$(1)/.build' && '$(1)/configure' \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
21 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
3024
15cbbf983fa0
Update graphicsmagick and pstoedit to use XME_CONFIGURE flags.
John Donoghue <john.donoghue@ieee.org>
parents:
3013
diff
changeset
|
22 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
3124
824f84572d1e
[MSVC] enable pstoedit compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
23 --prefix='$(HOST_PREFIX)' \ |
824f84572d1e
[MSVC] enable pstoedit compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
24 && $(CONFIGURE_POST_HOOK) |
2952
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
25 |
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
26 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install |
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
27 endef |