view src/of-statistics.mk @ 6438:802dd54c177c

of-statistics: update to v1.5.0 * src/of-statistics.mk: update to v1.5.0, use github * dist-files.mk: remove ref to deleted file, add new ref * src/of-statistics-1-cross.patch: removed * src/of-statistics-fixes.patch: new file
author John Donoghue <john.donoghue@ieee.org>
date Sat, 01 Oct 2022 08:57:05 -0400
parents 0b1489337e60
children 4b8764444acb
line wrap: on
line source

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

PKG             := of-statistics
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 1.5.0
$(PKG)_CHECKSUM := 45157ebc92edeb48913b7d7540a4b9d7cc192c6d
$(PKG)_REMOTE_SUBDIR :=
$(PKG)_SUBDIR   := statistics-release-$($(PKG)_VERSION)
$(PKG)_FILE     := statistics-$($(PKG)_VERSION).tar.gz
$(PKG)_URL      := https://github.com/gnu-octave/statistics/archive/refs/tags/release-$($(PKG)_VERSION).tar.gz
$(PKG)_DEPS     := of-io

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

define $(PKG)_UPDATE
    $(WGET) -q -O- 'https://github.com/gnu-octave/statistics/tags' | \
    $(SED) -n 's|.*releases/tag/release-\([^"]*\).*|\1|p' | $(SORT) -V | \
    tail -1
endef

define $(PKG)_BUILD
    $(OCTAVE_FORGE_PKG_BUILD)
endef