Mercurial > mxe-octave
annotate src/pstoedit.mk @ 6213:5f64fb928091 release
build-gcc: Avoid library clash when calling msgfmt.
* src/build-gcc-1-msgfmt.patch: Don't use libraries from the build tree when
calling `msgfmt`.
* dist-files.mk: Add patch to list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 06 May 2022 19:36:10 +0200 |
parents | 9dc019878239 |
children |
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 := |
5999
9dc019878239
* src/pstoedit.mk: update to v3.78
John Donoghue <john.donoghue@ieee.org>
parents:
5889
diff
changeset
|
6 $(PKG)_VERSION := 3.78 |
9dc019878239
* src/pstoedit.mk: update to v3.78
John Donoghue <john.donoghue@ieee.org>
parents:
5889
diff
changeset
|
7 $(PKG)_CHECKSUM := c000c82f69b1dfd1211d36b93ba5aa67c28d1f69 |
2952
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 $(PKG)_URL := https://sourceforge.net/projects/pstoedit/files/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE)/download |
3812 | 11 $(PKG)_DEPS := plotutils |
2952
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 |
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
5142 | 14 $(WGET) -q -O- 'http://sourceforge.net/projects/$(PKG)/files/$(PKG)/' | \ |
15 $(SED) -n 's,.*tr title="\([0-9][^"]*\)".*,\1,p' | \ | |
16 head -1 | |
2952
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
17 endef |
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
18 |
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
19 define $(PKG)_BUILD |
4962
6bccd1494669
* src/pstoedit.mk: force recreate of missing autoconf files
John Donoghue
parents:
4959
diff
changeset
|
20 cd '$(1)' && autoreconf -fi -I m4 |
2952
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
21 mkdir '$(1)/.build' |
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
22 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
|
23 $(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
|
24 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
3124
824f84572d1e
[MSVC] enable pstoedit compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
25 --prefix='$(HOST_PREFIX)' \ |
5153 | 26 --disable-docs \ |
3124
824f84572d1e
[MSVC] enable pstoedit compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
27 && $(CONFIGURE_POST_HOOK) |
2952
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
28 |
5254
a4032c689799
* src/pstoedit.mk: dont install docs by default
John Donoghue <john.donoghue@ieee.org>
parents:
5153
diff
changeset
|
29 $(MAKE) -C '$(1)/.build' -j 1 install DESTDIR='$(3)' $(MXE_DISABLE_DOCS) |
2952
09a58eb274f4
Include pstoedit as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
30 endef |