Mercurial > mxe-octave
annotate src/pstoedit.mk @ 5258:57dd959b3713
pstoedit: update to v3.75
* src/pstoedit-1-fixes.patch, src/pstoedit-2-gs.patch: update patch
* src/pstoedit.mk: update version, checksum
author | John Donoghue |
---|---|
date | Mon, 06 Jan 2020 13:02:08 -0500 |
parents | a4032c689799 |
children | 8d61de83cf90 |
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 := |
5258 | 6 $(PKG)_VERSION := 3.75 |
7 $(PKG)_CHECKSUM := b0fa3356efdca67bbc0c7c9145827c31384a6cc6 | |
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 |