Skip to content
Permalink
66a911b91c
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
1 contributor

Users who have contributed to this file

executable file 40 lines (30 sloc) 893 Bytes
#!/bin/env beesh
# BEE_VERSION netcdf-4.6.1-0
SRCURL[0]="https://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-${PKGVERSION}.tar.gz"
PATCHURL[0]=""
mee_patch() {
bee_patch
}
#
# NOTE: to achieve a similar build result with enclosed autotools, one needs only:
#
# CFLAGS='-fPIC -O2' ac_cv_search_H5DSis_scale=-lhdf5_hl ac_cv_search_H5Fflush='-lhdf5 -ldl' \
# ./configure --prefix=/dev/shm/netcdf-4.6.1-test --enable-shared=no --disable-silent-rules
#
# The above is so beautiful that I've felt a strong urge to preserve it in this bee file :)
#
mee_configure() {
bee_configure \
-DCMAKE_C_FLAGS=-fPIC \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=OFF \
-DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DENABLE_TESTS=OFF
}
mee_build() {
bee_build
}
mee_install() {
bee_install
}