Mercurial > mxe-octave
changeset 6296:ac2ffb9c58ca
* src/opkg-mqtt.mk: implement update rule
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Thu, 07 Jul 2022 08:31:32 -0400 |
parents | b2eb129d6382 |
children | 0d34a67863cc |
files | src/opkg-mqtt.mk |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/opkg-mqtt.mk Thu Jul 07 08:31:31 2022 -0400 +++ b/src/opkg-mqtt.mk Thu Jul 07 08:31:32 2022 -0400 @@ -15,8 +15,9 @@ endif define $(PKG)_UPDATE - echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; - echo $($(PKG)_VERSION) + $(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