annotate src/transfig.mk @ 4212:df658d20fd3b

* transfig.mk: Always include -liconv in config options.
author John W. Eaton <jwe@octave.org>
date Sat, 10 Sep 2016 06:13:26 -0400
parents a7e6025bcb39
children 78ae68d33e61
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3374
7b62537d0f8a Add transfig package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
1 # This file is part of MXE.
7b62537d0f8a Add transfig package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
2 # See index.html for further information.
7b62537d0f8a Add transfig package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
3
7b62537d0f8a Add transfig package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
4 PKG := transfig
7b62537d0f8a Add transfig package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
4178
a7e6025bcb39 transfig: update to v3.2.6
John Donoghue
parents: 3480
diff changeset
6 $(PKG)_VERSION := 3.2.6
a7e6025bcb39 transfig: update to v3.2.6
John Donoghue
parents: 3480
diff changeset
7 $(PKG)_CHECKSUM := 880acd94d679649da43ba5eea16e329b85840bcf
a7e6025bcb39 transfig: update to v3.2.6
John Donoghue
parents: 3480
diff changeset
8 $(PKG)_SUBDIR := fig2dev-$($(PKG)_VERSION)-rc
a7e6025bcb39 transfig: update to v3.2.6
John Donoghue
parents: 3480
diff changeset
9 $(PKG)_FILE := fig2dev-$($(PKG)_VERSION)-rc.tar.xz
a7e6025bcb39 transfig: update to v3.2.6
John Donoghue
parents: 3480
diff changeset
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/mcj/$($(PKG)_FILE)
3374
7b62537d0f8a Add transfig package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
11 $(PKG)_DEPS := jpeg libpng
7b62537d0f8a Add transfig package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
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
a7e6025bcb39 transfig: update to v3.2.6
John Donoghue
parents: 3480
diff changeset
14
a7e6025bcb39 transfig: update to v3.2.6
John Donoghue
parents: 3480
diff changeset
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
a7e6025bcb39 transfig: update to v3.2.6
John Donoghue
parents: 3480
diff changeset
17 BITMAPDIR="/share/fig2dev/bitmaps" \
a7e6025bcb39 transfig: update to v3.2.6
John Donoghue
parents: 3480
diff changeset
18 RGB_FILE="/share/fig2dev/rgb.txt"
a7e6025bcb39 transfig: update to v3.2.6
John Donoghue
parents: 3480
diff changeset
19 endif
a7e6025bcb39 transfig: update to v3.2.6
John Donoghue
parents: 3480
diff changeset
20
3374
7b62537d0f8a Add transfig package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
21 define $(PKG)_UPDATE
7b62537d0f8a Add transfig package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
22 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
7b62537d0f8a Add transfig package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
23 echo $($(PKG)_VERSION)
7b62537d0f8a Add transfig package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
24 endef
7b62537d0f8a Add transfig package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
25
7b62537d0f8a Add transfig package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
26 define $(PKG)_BUILD
4178
a7e6025bcb39 transfig: update to v3.2.6
John Donoghue
parents: 3480
diff changeset
27 cd '$(1)' \
3374
7b62537d0f8a Add transfig package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
28 && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \
7b62537d0f8a Add transfig package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
29 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
7b62537d0f8a Add transfig package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
30 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
4178
a7e6025bcb39 transfig: update to v3.2.6
John Donoghue
parents: 3480
diff changeset
31 $($(PKG)_CONFIG_OPTS) \
3374
7b62537d0f8a Add transfig package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
32 --prefix='$(HOST_PREFIX)'
7b62537d0f8a Add transfig package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
33
7b62537d0f8a Add transfig package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
34 $(MAKE) -C '$(1)' -j '$(JOBS)'
7b62537d0f8a Add transfig package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
35 $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)'
7b62537d0f8a Add transfig package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
36 endef