summaryrefslogtreecommitdiffstats
path: root/abs/extra/netcdf
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-06-07 21:49:05 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-06-07 21:49:05 (GMT)
commitc3790d63f22c704988cc85d91f5df7040a9494fd (patch)
treecb5a5f97c4b25cd52423772c48f6523994776667 /abs/extra/netcdf
parentcb63b6cebf4e61f4289010aab73d35b71e159f81 (diff)
downloadlinhes_pkgbuild-c3790d63f22c704988cc85d91f5df7040a9494fd.zip
linhes_pkgbuild-c3790d63f22c704988cc85d91f5df7040a9494fd.tar.gz
linhes_pkgbuild-c3790d63f22c704988cc85d91f5df7040a9494fd.tar.bz2
netcdf: initial inclusion. dep of ffmpeg
Diffstat (limited to 'abs/extra/netcdf')
-rw-r--r--abs/extra/netcdf/PKGBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/abs/extra/netcdf/PKGBUILD b/abs/extra/netcdf/PKGBUILD
new file mode 100644
index 0000000..c73dec6
--- /dev/null
+++ b/abs/extra/netcdf/PKGBUILD
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: damir <damir@archlinux.org>
+
+pkgname=netcdf
+pkgver=4.4.1rc1
+pkgrel=1
+pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library"
+arch=("i686" "x86_64")
+url="http://www.unidata.ucar.edu/downloads/netcdf/index.jsp"
+depends=('gcc-libs' 'hdf5' 'curl')
+optdepends=('netcdf-fortran: fortran bindings' 'netcdf-cxx: c++ bindings')
+options=('!makeflags')
+license=('custom')
+#source=("http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-${pkgver}.tar.gz")
+source=("https://github.com/Unidata/netcdf-c/archive/v4.4.1-rc1.tar.gz")
+sha1sums=('7606c16814bf9b33a66815e4109d9ba2df4a4936')
+
+build() {
+# cd "${srcdir}"/${pkgname}-${pkgver}
+ cd "${srcdir}"/netcdf-c-4.4.1-rc1
+# autoreconf -fis
+ ./configure --prefix=/usr --enable-shared --enable-netcdf-4 --enable-dap-netcdf
+ make
+}
+
+# hdf5 tests fail, have not yet been updated to hdf5-1.10.0
+#check() {
+# cd "${srcdir}"/${pkgname}-${pkgver}
+# cd "${srcdir}"/netcdf-c-4.4.1-rc1
+# make check
+#}
+
+package() {
+# cd "${srcdir}"/${pkgname}-${pkgver}
+ cd "${srcdir}"/netcdf-c-4.4.1-rc1
+ install -m755 -d "${pkgdir}"/usr/lib
+ install -m755 -d "${pkgdir}"/usr/share/man
+ make DESTDIR="${pkgdir}" install
+
+# install -Dm644 "${srcdir}"/${pkgname}-${pkgver}/COPYRIGHT \
+# "${pkgdir}"/usr/share/licenses/${pkgname}/COPYRIGHT
+ install -Dm644 "${srcdir}"/netcdf-c-4.4.1-rc1/COPYRIGHT \
+ "${pkgdir}"/usr/share/licenses/${pkgname}/COPYRIGHT
+
+}