Mercurial > mxe-octave
view src/transfig.mk @ 4248:64063cd35eb2
curl: enable winssl if compiling for windows
* src/curl.mk: add --with-winssl to configure options if compiling for windows
author | John D |
---|---|
date | Tue, 15 Nov 2016 20:18:19 -0500 |
parents | df658d20fd3b |
children | 78ae68d33e61 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := transfig $(PKG)_IGNORE := $(PKG)_VERSION := 3.2.6 $(PKG)_CHECKSUM := 880acd94d679649da43ba5eea16e329b85840bcf $(PKG)_SUBDIR := fig2dev-$($(PKG)_VERSION)-rc $(PKG)_FILE := fig2dev-$($(PKG)_VERSION)-rc.tar.xz $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/mcj/$($(PKG)_FILE) $(PKG)_DEPS := jpeg libpng $(PKG)_CONFIG_OPTS := LIBS=-liconv ifeq ($(MXE_WINDOWS_BUILD),yes) $(PKG)_CONFIG_OPTS += --without-xpm \ BITMAPDIR="/share/fig2dev/bitmaps" \ RGB_FILE="/share/fig2dev/rgb.txt" endif define $(PKG)_UPDATE echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; echo $($(PKG)_VERSION) endef define $(PKG)_BUILD cd '$(1)' \ && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $($(PKG)_CONFIG_OPTS) \ --prefix='$(HOST_PREFIX)' $(MAKE) -C '$(1)' -j '$(JOBS)' $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)' endef