view src/of-odepkg.mk @ 4466:61d45e0f7888

.hgignore: ignore more generated files * .hgignore: Add more generated files to the list of patterns to ignore. Escape literal period characters in regexp syntax.
author Mike Miller <mtmiller@octave.org>
date Fri, 01 Sep 2017 23:20:44 -0700
parents 1933a9113e65
children 7d1e45c2f175
line wrap: on
line source

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

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

define $(PKG)_BUILD
    $(OCTAVE_FORGE_PKG_BUILD)
endef