# HG changeset patch # User John Donoghue # Date 1656602068 14400 # Node ID 42b2fb1a2f700f2ed777e480657562a934668a12 # Parent 1f1717e8de5e856066460909bc0a628c8facbcfe Add opkg-mqtt * src/opkg-mqtt.mk: new file * Makefile.in, dist-files.mk, index.html: add ref to new pkg diff -r 1f1717e8de5e -r 42b2fb1a2f70 Makefile.in --- a/Makefile.in Thu Jun 30 10:57:54 2022 -0400 +++ b/Makefile.in Thu Jun 30 11:14:28 2022 -0400 @@ -536,7 +536,7 @@ ## Packages removed from list because build is broken: ## None. OCTAVE_FORGE_PACKAGES := $(addprefix of-,audio communications control database dataframe data-smoothing dicom financial fits fuzzy-logic-toolkit ga general generate_html geometry gsl image instrument-control interval io linear-algebra lssa ltfat mapping matgeom miscellaneous nan netcdf nurbs ocs octproj optim optiminterp quaternion queueing signal sockets sparsersb splines statistics stk strings struct symbolic tisean tsa video windows zeromq) -OCTAVE_OTHER_PACKAGES := $(addprefix opkg-,biosig) +OCTAVE_OTHER_PACKAGES := $(addprefix opkg-,biosig mqtt) # get ALL deps for all of- packages, regardless of whether building the actual forge package in the installer OCTAVE_FORGE_DEPS:= $(sort $(foreach p,$(addprefix $(TOP_DIR)/src/,$(addsuffix .mk,$(OCTAVE_FORGE_PACKAGES))),$(shell $(SED) -n 's/.*_DEPS.*:=\(.*\)/\1/p' $p))) OCTAVE_OTHER_PKG_DEPS:= $(sort $(foreach p,$(addprefix $(TOP_DIR)/src/,$(addsuffix .mk,$(OCTAVE_OTHER_PACKAGES))),$(shell $(SED) -n 's/.*_DEPS.*:=\(.*\)/\1/p' $p))) diff -r 1f1717e8de5e -r 42b2fb1a2f70 dist-files.mk --- a/dist-files.mk Thu Jun 30 10:57:54 2022 -0400 +++ b/dist-files.mk Thu Jun 30 11:14:28 2022 -0400 @@ -570,6 +570,7 @@ openssl.mk \ opkg-biosig-1-skip-test.patch \ opkg-biosig.mk \ + opkg-mqtt.mk \ opus.mk \ opusfile.mk \ paho-mqtt-c-1-fixes.patch \ diff -r 1f1717e8de5e -r 42b2fb1a2f70 index.html --- a/index.html Thu Jun 30 10:57:54 2022 -0400 +++ b/index.html Thu Jun 30 11:14:28 2022 -0400 @@ -2510,6 +2510,10 @@ Biosig Octave Package + opkg-mqtt + MQTT Octave Package + + opus opus diff -r 1f1717e8de5e -r 42b2fb1a2f70 src/opkg-mqtt.mk --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/opkg-mqtt.mk Thu Jun 30 11:14:28 2022 -0400 @@ -0,0 +1,24 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := opkg-mqtt +$(PKG)_IGNORE := +$(PKG)_VERSION := 0.0.1 +$(PKG)_CHECKSUM := 4b8c95fe20b4e67747b6d2712db1965d0baaba4a +$(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 + echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; + echo $($(PKG)_VERSION) +endef + +define $(PKG)_BUILD + $(OCTAVE_FORGE_PKG_BUILD) +endef