changeset 6281:42b2fb1a2f70

Add opkg-mqtt * src/opkg-mqtt.mk: new file * Makefile.in, dist-files.mk, index.html: add ref to new pkg
author John Donoghue <john.donoghue@ieee.org>
date Thu, 30 Jun 2022 11:14:28 -0400
parents 1f1717e8de5e
children 502fc27d1aac
files Makefile.in dist-files.mk index.html src/opkg-mqtt.mk
diffstat 4 files changed, 30 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)))
--- 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 \
--- 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 @@
         <td class="website"><a href="https://biosig.sourceforge.io/">Biosig Octave Package</a></td>
     </tr>
     <tr>
+        <td class="package">opkg-mqtt</td>
+        <td class="website"><a href="https://sourceforge.net/projects/octave-mqtt/">MQTT Octave Package</a></td>
+    </tr>
+    <tr>
         <td class="package">opus</td>
         <td class="website"><a href="https://opus-codec.org/">opus</a></td>
     </tr>
--- /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