Mercurial > mxe-octave
view src/of-windows.mk @ 4513:1fdd8063e38d
mesa: windows: optionally build opengl target; build in release mode
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 18 Oct 2017 10:50:32 -0400 |
parents | 1933a9113e65 |
children | 7d1e45c2f175 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := of-windows $(PKG)_IGNORE := $(PKG)_VERSION := 1.2.4 $(PKG)_CHECKSUM := 025cb4c9456d11b7a0a5aa540901894d7ff9f6db $(PKG)_REMOTE_SUBDIR := $(PKG)_SUBDIR := windows $(PKG)_FILE := windows-$($(PKG)_VERSION).tar.gz $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download' $(PKG)_DEPS := ifeq ($(ENABLE_BINARY_PACKAGES),yes) $(PKG)_DEPS += $(OCTAVE_TARGET) endif define $(PKG)_UPDATE $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \ $(SED) -n 's,.*title="windows-\([0-9][^"]*\).tar.gz".*,\1,p' | \ head -1 endef define $(PKG)_BUILD cd $(1)/src && source autogen.sh $(OCTAVE_FORGE_PKG_BUILD) endef