view src/of-octproj.mk @ 6509:b77e76368a51

* src/of-octproj.mk: update to v3.0.2, use bitbucket urls
author John Donoghue <john.donoghue@ieee.org>
date Mon, 07 Nov 2022 09:51:40 -0500
parents cb435a71f36c
children
line wrap: on
line source

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

PKG             := of-octproj
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 3.0.2
$(PKG)_CHECKSUM := d487820de128ce67bf1f50c9b680568490317ebc
$(PKG)_SUBDIR   := octproj-$($(PKG)_VERSION)
$(PKG)_FILE     := $($(PKG)_SUBDIR).tar.gz
$(PKG)_URL      := https://bitbucket.org/jgpallero/octproj/downloads/$($(PKG)_FILE)
$(PKG)_DEPS     := proj

ifeq ($(ENABLE_BINARY_PACKAGES),yes)
    $(PKG)_DEPS += $(OCTAVE_TARGET)
endif

define $(PKG)_UPDATE
    $(WGET) -q -O- 'https://bitbucket.org/jgpallero/octproj/downloads/?tab=tags' | \
    $(SED) -n 's|.*>OctPROJ-\([^<]*\).*|\1|p' | $(SORT) -V | \
    tail -1
endef

define $(PKG)_BUILD
    $(OCTAVE_FORGE_PKG_BUILD)
endef