view src/of-octproj.mk @ 7197:e03680baccc7 default tip @

maint: Merge release to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Wed, 15 May 2024 13:07:42 +0200
parents b77e76368a51
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