Mercurial > mxe-octave
view src/transfig.mk @ 5885:fbad4bcfdf3c
* build-gettext.mk: One more attempt to fix build issues.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 10 Sep 2021 15:34:26 -0400 |
parents | 68dec87c0ebe |
children | b96d29842043 |
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.8a $(PKG)_CHECKSUM := 9f607b31aae1ecf27b45c0fe374f2705fb00ec05 $(PKG)_SUBDIR := fig2dev-$($(PKG)_VERSION) $(PKG)_FILE := fig2dev-$($(PKG)_VERSION).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 $(WGET) -q -O- 'http://sourceforge.net/projects/mcj/files/' | \ $(SED) -n 's,.*tr title="fig2dev-\(.*\)\.tar\.xz".*,\1,p' | \ head -1 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