Mercurial > mxe-octave
changeset 5068:ba71349b1542
* src/libbiosig.mk: fix update rule
author | John Donoghue |
---|---|
date | Thu, 16 May 2019 09:52:28 -0400 |
parents | 01ced4433575 |
children | 75068ddff45a |
files | src/libbiosig.mk |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/libbiosig.mk Thu May 09 13:43:05 2019 -0400 +++ b/src/libbiosig.mk Thu May 16 09:52:28 2019 -0400 @@ -13,8 +13,10 @@ define $(PKG)_UPDATE $(WGET) -q -O- 'http://biosig.sourceforge.net/download.html' | \ - $(SED) -n 's_.*>libbiosig, version \([0-9]\.[0-9]\.[0-9]\).*tar.gz_\1_ip' | \ - head -1 + $(GREP) biosig4c | \ + $(SED) -n 's_.*>v\([0-9]\.[0-9]\.[0-9]\)<.*_\1_p' | \ + $(SORT) -V | \ + tail -1 endef define $(PKG)_BUILD_PRE