mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 17:57:13 +08:00
33 lines
893 B
Bash
33 lines
893 B
Bash
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
|
|
|
pkgname=netcdf
|
|
pkgver=4.4.0
|
|
pkgrel=1
|
|
pkgdesc="Network Common Data Form interface for array-oriented data access and corresponding library."
|
|
arch=("x86_64")
|
|
url="http://www.unidata.ucar.edu/downloads/netcdf/index.jsp"
|
|
depends=('gcc-libs' 'hdf5' 'gcc-fortran')
|
|
options=('!libtool' '!makeflags')
|
|
license=('custom')
|
|
source=(http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-${pkgver}.tar.gz)
|
|
sha1sums=('cb7de8f14ddeef5e66cbc688e0a127a405d580af')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
./configure --prefix=/usr --enable-shared --disable-netcdf-4
|
|
make
|
|
}
|
|
|
|
#check() {
|
|
# cd ${srcdir}/${pkgname}-${pkgver}
|
|
# make check
|
|
#}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
install -Dm644 ${srcdir}/${pkgname}-${pkgver}/COPYRIGHT \
|
|
${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT
|
|
}
|