1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-14 03:39:53 +03:00
aports/community/netcdf-fortran/APKBUILD
2025-05-10 10:55:13 +00:00

46 lines
965 B
Text

# Contributor: Holger Jaekel <holger.jaekel@gmx.de>
# Maintainer: Holger Jaekel <holger.jaekel@gmx.de>
pkgname=netcdf-fortran
pkgver=4.6.2
pkgrel=0
pkgdesc="NetCDF fortran bindings"
url="https://www.unidata.ucar.edu/software/netcdf/"
arch="all !s390x"
license="Apache-2.0"
makedepends="
cmake
doxygen
gfortran
graphviz
m4
netcdf-dev
"
depends_dev="
netcdf-dev
"
subpackages="
$pkgname-doc
$pkgname-dev
"
source="$pkgname-$pkgver.tar.gz::https://github.com/Unidata/netcdf-fortran/archive/v$pkgver.tar.gz"
build() {
FCFLAGS="$FCFLAGS -fallow-argument-mismatch" \
FFLAGS="$FFLAGS -fallow-argument-mismatch" \
./configure \
--prefix=/usr \
--disable-static
make
}
package() {
make DESTDIR="$pkgdir" install
rm -rf $pkgdir/usr/include/CMakeFiles
}
check() {
make check
}
sha512sums="
cde63b4d285ef00f256a028c79b6c00a525e4cbe8dab83d3eab14a568a2d32c22dd0e81bccc5bde997860918a7ee184d15b15c847f492ce6393a425dafed3ef2 netcdf-fortran-4.6.2.tar.gz
"