Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Commit

Permalink
add libnetcdf recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
ilanschnell committed Apr 7, 2014
1 parent 878202b commit c32d753
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
17 changes: 17 additions & 0 deletions libnetcdf/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

export CFLAGS="-I$PREFIX/include $CFLAGS"
export LDFLAGS="-L$PREFIX/lib $LDFLAGS"

./configure \
--enable-shared \
--enable-netcdf-4 \
--enable-dap \
--without-ssl \
--without-libidn \
--disable-ldap \
--prefix=$PREFIX
make
make install

rm -rf $PREFIX/share
27 changes: 27 additions & 0 deletions libnetcdf/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
package:
name: libnetcdf
version: 4.2.1.1

source:
fn: netcdf-4.2.1.1.tar.gz
url: http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-4.2.1.1.tar.gz
md5: 5eebcf19e6ac78a61c73464713cbfafc

requirements:
build:
- curl
- hdf5
- zlib
run:
- curl
- hdf5
- zlib

test:
commands:
- ncdump
- nc-config --help

about:
home: http://www.unidata.ucar.edu/software/netcdf/
license: MIT

0 comments on commit c32d753

Please sign in to comment.