Mercurial > mxe-octave
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 |
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 := | |
4178 | 6 $(PKG)_VERSION := 3.2.6 |
7 $(PKG)_CHECKSUM := 880acd94d679649da43ba5eea16e329b85840bcf | |
8 $(PKG)_SUBDIR := fig2dev-$($(PKG)_VERSION)-rc | |
9 $(PKG)_FILE := fig2dev-$($(PKG)_VERSION)-rc.tar.xz | |
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 |
22 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; | |
23 echo $($(PKG)_VERSION) | |
24 endef | |
25 | |
26 define $(PKG)_BUILD | |
4178 | 27 cd '$(1)' \ |
3374 | 28 && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ |
29 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ | |
30 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | |
4178 | 31 $($(PKG)_CONFIG_OPTS) \ |
3374 | 32 --prefix='$(HOST_PREFIX)' |
33 | |
34 $(MAKE) -C '$(1)' -j '$(JOBS)' | |
35 $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)' | |
36 endef |