Skip to content

Commit

Permalink
Upgrade to libcdf 3.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pacesm committed Dec 19, 2024
1 parent d6aa2ed commit 4b6e345
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions libcdf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
# install CDF library from sources
#

VERSION = 39_0
VERSION = 39_1
DIRNAME = ./cdf$(VERSION)-dist/
FILENAME = ./cdf$(VERSION)-dist-cdf.tar.gz
SOURCE_URL = https://spdf.gsfc.nasa.gov/pub/software/cdf/dist/cdf$(VERSION)/linux/cdf$(VERSION)-dist-cdf.tar.gz
MD5CHECKSUM = 7c6489017be3aee20d6d99f562f952f6
MD5CHECKSUM = 484cfdba8c93dbb1f7ad42b0b0df679b
INSTALLDIR ?= /usr/local/cdf

all: build
Expand All @@ -15,19 +15,19 @@ clean:
-rm -fR $(DIRNAME)

install: build test
-make -C $(DIRNAME) INSTALLDIR=$(INSTALLDIR) install
make -C $(DIRNAME) INSTALLDIR=$(INSTALLDIR) install

test: build
-make -C $(DIRNAME) test
make -C $(DIRNAME) test

build: $(DIRNAME)
-make -C $(DIRNAME) OS=linux ENV=gnu CURSES=no all
make -C $(DIRNAME) OS=linux ENV=gnu CURSES=no all

$(DIRNAME): $(FILENAME) md5check
-tar -xzf $(FILENAME)
tar -xzf $(FILENAME)

md5check: $(FILENAME)
-echo $(MD5CHECKSUM) $(FILENAME) | md5sum -c
echo $(MD5CHECKSUM) $(FILENAME) | md5sum -c

$(FILENAME):
-curl $(SOURCE_URL) > $(FILENAME)
curl $(SOURCE_URL) > $(FILENAME)
6 changes: 3 additions & 3 deletions libcdf/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
# are compiled with different versions of the GFortran compiler.


{% set version = "3.9.0" %}
{% set file_version = "cdf39_0" %}
{% set version = "3.9.1" %}
{% set file_version = "cdf39_1" %}

package:
name: "cdf"
version: {{ version }}

source:
- url: https://spdf.gsfc.nasa.gov/pub/software/cdf/dist/{{ file_version }}/unix/{{ file_version }}-dist-cdf.tar.gz
sha256: ae1916d73af43141dc09f14864166395c23245527e79ae92b25314ee0e27a9b7
sha256: 01d860cdfd8a466b232738facd169e87e1d70aa5dabb762e864b81f5ccf66622

requirements:
build:
Expand Down

0 comments on commit 4b6e345

Please sign in to comment.