summaryrefslogtreecommitdiffstats
path: root/abs/extra/hdf5/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-06-07 21:45:13 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-06-07 21:45:13 (GMT)
commitcb63b6cebf4e61f4289010aab73d35b71e159f81 (patch)
tree1db6e23b3e5a0cb221732d6c1b0c8eeca11a42ac /abs/extra/hdf5/PKGBUILD
parentcdae2fe589ca2904c7f46f79bdfe611370364b95 (diff)
downloadlinhes_pkgbuild-cb63b6cebf4e61f4289010aab73d35b71e159f81.zip
linhes_pkgbuild-cb63b6cebf4e61f4289010aab73d35b71e159f81.tar.gz
linhes_pkgbuild-cb63b6cebf4e61f4289010aab73d35b71e159f81.tar.bz2
hdf5: initial inclusion. dep of netcdf
Diffstat (limited to 'abs/extra/hdf5/PKGBUILD')
-rw-r--r--abs/extra/hdf5/PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/abs/extra/hdf5/PKGBUILD b/abs/extra/hdf5/PKGBUILD
new file mode 100644
index 0000000..34ac635
--- /dev/null
+++ b/abs/extra/hdf5/PKGBUILD
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+# Contributor: damir <damir@archlinux.org>
+# Contributor: Tom K <tomk@runbox.com>
+
+pkgname=hdf5
+pkgver=1.10.0
+pkgrel=1
+arch=('i686' 'x86_64')
+pkgdesc="General purpose library and file format for storing scientific data"
+url="http://www.hdfgroup.org/HDF5/"
+license=('custom')
+depends=('zlib' 'sh')
+makedepends=('time')
+source=(ftp://ftp.hdfgroup.org/HDF5/releases/${pkgname}-1.10/${pkgname}-${pkgver}/src/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('5866dbbcd24485f6b206413e73f7205cb3c1196e')
+
+build() {
+ cd "$srcdir/${pkgname}-${pkgver/_/-}"
+
+ ./configure --prefix=/usr --disable-static \
+ --enable-hl \
+ --enable-linux-lfs \
+ --enable-build-mode=production \
+ --with-pic \
+ --docdir=/usr/share/doc/hdf5/ \
+ --with-pthread=/usr/lib/ \
+ --disable-sharedlib-rpath
+ make
+}
+
+package() {
+ cd "$srcdir/${pkgname}-${pkgver/_/-}"
+
+ make -j1 DESTDIR="${pkgdir}" install
+
+ install -d -m755 "$pkgdir/usr/share/licenses/${pkgname}"
+ install -m644 "$srcdir/${pkgname}-${pkgver/_/-}/COPYING" \
+ "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
+}
+