view src/of-io.mk @ 4451:f81858aaddc8

of-mapping: re-allow checking of rad2deg, deg2rad in configure when cross compiling (Bug #47494) * src/of-mapping-1-cross-fixes.patch: remove cross compile patch
author John D
date Tue, 15 Aug 2017 08:04:34 -0400
parents 1933a9113e65
children 40b709264bcc
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

PKG             := of-io
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 2.4.7
$(PKG)_CHECKSUM := f2281210fc46fae2d151ed15448632f8bdc5fb71
$(PKG)_REMOTE_SUBDIR := 
$(PKG)_SUBDIR   := io-$($(PKG)_VERSION)
$(PKG)_FILE     := io-$($(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="io-\([0-9][^"]*\).tar.gz".*,\1,p' | \
    head -1
endef

define $(PKG)_BUILD
    $(OCTAVE_FORGE_PKG_BUILD)
endef