Mercurial > mxe-octave
annotate src/transfig.mk @ 7236:015881636607 default tip @
GCC: Update to 14.1.0
* src/build-gcc.mk, src/native-gcc.mk: Update version and checksum.
* src/build-gcc-2-ice-no-omit-frame-pointer.patch,
src/native-gcc-1-ice-no-omit-frame-pointer.patch: Cherry-pick patch from
upstream to fix ICE.
* dist-files.mk: Add new files to list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Mon, 03 Jun 2024 21:33:28 +0200 |
parents | 1490118493f0 |
children |
rev | line source |
---|---|
3374 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := transfig | |
5 $(PKG)_IGNORE := | |
6852
1490118493f0
transfig: update to v3.2.9
John Donoghue <john.donoghue@ieee.org>
parents:
5888
diff
changeset
|
6 $(PKG)_VERSION := 3.2.9 |
1490118493f0
transfig: update to v3.2.9
John Donoghue <john.donoghue@ieee.org>
parents:
5888
diff
changeset
|
7 $(PKG)_CHECKSUM := 3983ae7306e608b503ac840973b1f86e9d867abf |
4442 | 8 $(PKG)_SUBDIR := fig2dev-$($(PKG)_VERSION) |
9 $(PKG)_FILE := fig2dev-$($(PKG)_VERSION).tar.xz | |
4178 | 10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/mcj/$($(PKG)_FILE) |
3374 | 11 $(PKG)_DEPS := jpeg libpng |
12 | |
4212
df658d20fd3b
* transfig.mk: Always include -liconv in config options.
John W. Eaton <jwe@octave.org>
parents:
4178
diff
changeset
|
13 $(PKG)_CONFIG_OPTS := LIBS=-liconv |
4178 | 14 |
15 ifeq ($(MXE_WINDOWS_BUILD),yes) | |
4212
df658d20fd3b
* transfig.mk: Always include -liconv in config options.
John W. Eaton <jwe@octave.org>
parents:
4178
diff
changeset
|
16 $(PKG)_CONFIG_OPTS += --without-xpm \ |
4178 | 17 BITMAPDIR="/share/fig2dev/bitmaps" \ |
18 RGB_FILE="/share/fig2dev/rgb.txt" | |
19 endif | |
20 | |
3374 | 21 define $(PKG)_UPDATE |
5144 | 22 $(WGET) -q -O- 'http://sourceforge.net/projects/mcj/files/' | \ |
23 $(SED) -n 's,.*tr title="fig2dev-\(.*\)\.tar\.xz".*,\1,p' | \ | |
24 head -1 | |
3374 | 25 endef |
26 | |
27 define $(PKG)_BUILD | |
4178 | 28 cd '$(1)' \ |
3374 | 29 && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ |
30 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ | |
31 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | |
4178 | 32 $($(PKG)_CONFIG_OPTS) \ |
3374 | 33 --prefix='$(HOST_PREFIX)' |
34 | |
35 $(MAKE) -C '$(1)' -j '$(JOBS)' | |
36 $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)' | |
37 endef |