Mercurial > mxe-octave
comparison src/netcdf.mk @ 5272:ed0f6eaf1280
* src/netcdf.mk: update pkg for moved tarball
author | John Donoghue |
---|---|
date | Fri, 17 Jan 2020 12:41:44 -0500 |
parents | 7e8c6bb47c21 |
children | 27191384a9a0 |
comparison
equal
deleted
inserted
replaced
5271:8ce9f378be7c | 5272:ed0f6eaf1280 |
---|---|
2 # See index.html for further information. | 2 # See index.html for further information. |
3 | 3 |
4 PKG := netcdf | 4 PKG := netcdf |
5 $(PKG)_IGNORE := | 5 $(PKG)_IGNORE := |
6 $(PKG)_VERSION := 4.3.2 | 6 $(PKG)_VERSION := 4.3.2 |
7 $(PKG)_CHECKSUM := 6e1bacab02e5220954fe0328d710ebb71c071d19 | 7 $(PKG)_CHECKSUM := dc26276da6a14f3f3a84cca6e87dc354a503dfdc |
8 $(PKG)_SUBDIR := netcdf-$($(PKG)_VERSION) | 8 $(PKG)_SUBDIR := netcdf-c-$($(PKG)_VERSION) |
9 $(PKG)_FILE := netcdf-$($(PKG)_VERSION).tar.gz | 9 $(PKG)_FILE := netcdf-$($(PKG)_VERSION).tar.gz |
10 $(PKG)_URL := ftp://ftp.unidata.ucar.edu/pub/netcdf/old/$($(PKG)_FILE) | 10 $(PKG)_URL_DISABLED := ftp://ftp.unidata.ucar.edu/pub/netcdf/old/$($(PKG)_FILE) |
11 $(PKG)_URL := https://src.fedoraproject.org/repo/pkgs/$(PKG)/$($(PKG)_FILE)/6d0a2a1e2bd854390062f4a808dd94c4/$($(PKG)_FILE) | |
11 $(PKG)_DEPS := curl hdf5 | 12 $(PKG)_DEPS := curl hdf5 |
12 | 13 |
13 define $(PKG)_UPDATE | 14 define $(PKG)_UPDATE |
14 $(WGET) -q -O- 'ftp://ftp.unidata.ucar.edu/pub/netcdf/old/' | \ | 15 $(WGET) -q -O- 'ftp://ftp.unidata.ucar.edu/pub/netcdf/' | \ |
15 $(SED) -n 's,.*netcdf-\([0-9]\.[^>]*\)\.tar.*,\1,p' | \ | 16 $(SED) -n 's,.*netcdf-c-\([0-9]\.[^>]*\)\.tar.*,\1,p' | \ |
16 $(SORT) -V | \ | 17 $(SORT) -V | \ |
17 tail -1 | 18 tail -1 |
18 endef | 19 endef |
19 | 20 |
20 ifeq ($(MXE_WINDOWS_BUILD),yes) | 21 ifeq ($(MXE_WINDOWS_BUILD),yes) |