mirror of https://git.wownero.com/dsc/mxe.git
packages hdf4 hdf5: add update script
This commit is contained in:
parent
43b01d903f
commit
417513d50e
|
@ -10,8 +10,10 @@ $(PKG)_URL := http://www.hdfgroup.org/ftp/HDF/HDF_Current/src/$($(PKG)_FILE
|
|||
$(PKG)_DEPS := gcc zlib jpeg portablexdr
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
echo 'TODO: write update script for $(PKG).' >&2;
|
||||
echo $($(PKG)_VERSION)
|
||||
$(WGET) -q -O- 'http://www.hdfgroup.org/ftp/HDF/HDF_Current/src/' | \
|
||||
grep '<a href.*hdf.*bz2' | \
|
||||
$(SED) -n 's,.*hdf-\([0-9][^>]*\)\.tar.*,\1,p' | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD
|
||||
|
|
|
@ -10,8 +10,10 @@ $(PKG)_URL := http://www.hdfgroup.org/ftp/HDF5/current/src/$($(PKG)_FILE)
|
|||
$(PKG)_DEPS := gcc zlib pthreads
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
echo 'TODO: write update script for $(PKG).' >&2;
|
||||
echo $($(PKG)_VERSION)
|
||||
$(WGET) -q -O- 'http://www.hdfgroup.org/ftp/HDF5/current/src/' | \
|
||||
grep '<a href.*hdf5.*bz2' | \
|
||||
$(SED) -n 's,.*hdf5-\([0-9][^>]*\)\.tar.*,\1,p' | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD
|
||||
|
|
Loading…
Reference in New Issue