Mercurial > mxe-octave
annotate 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 |
rev | line source |
---|---|
6281 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := opkg-mqtt | |
5 $(PKG)_IGNORE := | |
6329
17e88be8f3ed
* src/opkg-mqtt.mk: update to v0.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
6296
diff
changeset
|
6 $(PKG)_VERSION := 0.0.2 |
17e88be8f3ed
* src/opkg-mqtt.mk: update to v0.0.2
John Donoghue <john.donoghue@ieee.org>
parents:
6296
diff
changeset
|
7 $(PKG)_CHECKSUM := bb102f472f5aa91f006b6ccb34c746aa46dab2b3 |
6281 | 8 $(PKG)_SUBDIR := octave-mqtt-$($(PKG)_VERSION) |
9 $(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz | |
10 $(PKG)_URL := https://downloads.sourceforge.net/project/octave-mqtt/v$($(PKG)_VERSION)/$($(PKG)_FILE) | |
11 $(PKG)_DEPS := paho-mqtt-c | |
12 | |
13 ifeq ($(ENABLE_BINARY_PACKAGES),yes) | |
14 $(PKG)_DEPS += $(OCTAVE_TARGET) | |
15 endif | |
16 | |
17 define $(PKG)_UPDATE | |
6296
ac2ffb9c58ca
* src/opkg-mqtt.mk: implement update rule
John Donoghue <john.donoghue@ieee.org>
parents:
6281
diff
changeset
|
18 $(WGET) -q -O- https://sourceforge.net/p/octave-mqtt/code/ci/default/tree/ | \ |
ac2ffb9c58ca
* src/opkg-mqtt.mk: implement update rule
John Donoghue <john.donoghue@ieee.org>
parents:
6281
diff
changeset
|
19 $(SED) -n 's|.*code/ci/release-\([0-9][0-9.]*\)/tree.*|\1|p' | $(SORT) -V | \ |
ac2ffb9c58ca
* src/opkg-mqtt.mk: implement update rule
John Donoghue <john.donoghue@ieee.org>
parents:
6281
diff
changeset
|
20 tail -1 |
6281 | 21 endef |
22 | |
23 define $(PKG)_BUILD | |
24 $(OCTAVE_FORGE_PKG_BUILD) | |
25 endef |