comparison src/transfig.mk @ 4178:a7e6025bcb39

transfig: update to v3.2.6 * src/transfig.mk: update version, checksum, build rule * src/mingw-transfig-1-fixes.patch: removed * src/transfig-1-configure.patch: removed * src/transfig-1-fixes.patch: new patch * dist-files.mk: remove mingw-transfig-1-fixes.patch, transfig-1-configure.patch, add transfig-1-fixes.patch
author John Donoghue
date Tue, 26 Jul 2016 11:15:06 -0400
parents 13be64f9f16d
children df658d20fd3b
comparison
equal deleted inserted replaced
4177:16b2ee1a1b5d 4178:a7e6025bcb39
1 # This file is part of MXE. 1 # This file is part of MXE.
2 # See index.html for further information. 2 # See index.html for further information.
3 3
4 PKG := transfig 4 PKG := transfig
5 $(PKG)_IGNORE := 5 $(PKG)_IGNORE :=
6 $(PKG)_VERSION := 3.2.5e 6 $(PKG)_VERSION := 3.2.6
7 $(PKG)_CHECKSUM := 27aa9691bf84f8775db9be39c453a8132148bad1 7 $(PKG)_CHECKSUM := 880acd94d679649da43ba5eea16e329b85840bcf
8 $(PKG)_SUBDIR := $(PKG).$($(PKG)_VERSION) 8 $(PKG)_SUBDIR := fig2dev-$($(PKG)_VERSION)-rc
9 $(PKG)_FILE := $(PKG).$($(PKG)_VERSION).tar.gz 9 $(PKG)_FILE := fig2dev-$($(PKG)_VERSION)-rc.tar.xz
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/mcj/mcj-source/$($(PKG)_FILE) 10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/mcj/$($(PKG)_FILE)
11 $(PKG)_DEPS := jpeg libpng 11 $(PKG)_DEPS := jpeg libpng
12
13 $(PKG)_CONFIG_OPTS :=
14
15 ifeq ($(MXE_WINDOWS_BUILD),yes)
16 $(PKG)_CONFIG_OPTS += --without-xpm LIBS=-liconv \
17 BITMAPDIR="/share/fig2dev/bitmaps" \
18 RGB_FILE="/share/fig2dev/rgb.txt"
19 endif
12 20
13 define $(PKG)_UPDATE 21 define $(PKG)_UPDATE
14 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; 22 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
15 echo $($(PKG)_VERSION) 23 echo $($(PKG)_VERSION)
16 endef 24 endef
17 25
18 define $(PKG)_BUILD 26 define $(PKG)_BUILD
19 cd '$(1)' && chmod 755 configure && aclocal && automake --add-missing && autoconf \ 27 cd '$(1)' \
20 && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ 28 && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \
21 BITMAPDIR="/share/$(PKG)/bitmaps" \
22 RGB_FILE="/share/$(PKG)/rgb.txt" \
23 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ 29 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
24 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ 30 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
31 $($(PKG)_CONFIG_OPTS) \
25 --prefix='$(HOST_PREFIX)' 32 --prefix='$(HOST_PREFIX)'
26 33
27 $(MAKE) -C '$(1)' -j '$(JOBS)' 34 $(MAKE) -C '$(1)' -j '$(JOBS)'
28 $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)' 35 $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)'
29 endef 36 endef