mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
community/netcdf to 4.8.1-1
This commit is contained in:
parent
ce28260fec
commit
3bef339e69
1 changed files with 20 additions and 18 deletions
|
@ -6,18 +6,19 @@
|
|||
# - disable CDFS for 32-bit ARM
|
||||
|
||||
pkgname=netcdf
|
||||
pkgver=4.7.4
|
||||
pkgver=4.8.1
|
||||
pkgrel=1
|
||||
pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library"
|
||||
arch=(x86_64)
|
||||
url="https://www.unidata.ucar.edu/software/netcdf/"
|
||||
depends=(hdf5 curl)
|
||||
makedepends=(cmake)
|
||||
checkdepends=(unzip)
|
||||
optdepends=('netcdf-fortran: fortran bindings' 'netcdf-cxx: c++ bindings')
|
||||
options=(!makeflags)
|
||||
license=(custom)
|
||||
source=(https://github.com/Unidata/netcdf-c/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
|
||||
sha256sums=('99930ad7b3c4c1a8e8831fb061cb02b2170fc8e5ccaeda733bd99c3b9d31666b')
|
||||
sha256sums=('bc018cc30d5da402622bf76462480664c6668b55eb16ba205a0dfb8647161dd0')
|
||||
|
||||
build() {
|
||||
[[ $CARCH != "aarch64" ]] && CDFS="OFF" || CDFS="ON"
|
||||
|
@ -25,13 +26,14 @@ build() {
|
|||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DENABLE_BYTERANGE=ON \
|
||||
-DENABLE_CDF5=${CDFS} \
|
||||
-DENABLE_DAP_LONG_TESTS=ON \
|
||||
-DENABLE_DAP_LONG_TESTS=OFF \
|
||||
-DENABLE_EXAMPLE_TESTS=ON \
|
||||
-DENABLE_EXTRA_TESTS=ON \
|
||||
-DENABLE_FAILING_TESTS=ON \
|
||||
-DENABLE_FILTER_TESTING=ON \
|
||||
-DENABLE_LARGE_FILE_TESTS=ON
|
||||
-DENABLE_LARGE_FILE_TESTS=ON \
|
||||
-DENABLE_UNIT_TESTS=ON
|
||||
make -C build
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue