view src/opkg-mqtt.mk @ 6329:17e88be8f3ed

* src/opkg-mqtt.mk: update to v0.0.2
author John Donoghue <john.donoghue@ieee.org>
date Thu, 21 Jul 2022 13:22:40 -0400
parents ac2ffb9c58ca
children e999279f10fc
line wrap: on
line source

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

PKG             := opkg-mqtt
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 0.0.2
$(PKG)_CHECKSUM := bb102f472f5aa91f006b6ccb34c746aa46dab2b3
$(PKG)_SUBDIR   := octave-mqtt-$($(PKG)_VERSION)
$(PKG)_FILE     := $($(PKG)_SUBDIR).tar.gz
$(PKG)_URL      := https://downloads.sourceforge.net/project/octave-mqtt/v$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_DEPS     := paho-mqtt-c

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

define $(PKG)_UPDATE
    $(WGET) -q -O- https://sourceforge.net/p/octave-mqtt/code/ci/default/tree/ | \
    $(SED) -n 's|.*code/ci/release-\([0-9][0-9.]*\)/tree.*|\1|p' | $(SORT) -V | \
    tail -1
endef

define $(PKG)_BUILD
  $(OCTAVE_FORGE_PKG_BUILD)
endef