blob: 0f3c25e3b6d632191f134e255cbf11987bef4371 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Maintainer : George Eleftheriou <eleftg>
# Contributor: Xavier Corredor <xavier.corredor.llano (a) gmail.com>
# Contributor: Frisbee Whisperwind <Frisbee>
_pkgname=hdf5
pkgname=libhdf5
pkgver=1.10.3
pkgrel=1
arch=('x86_64')
pkgdesc="the static libraries of HDF5"
url="https://portal.hdfgroup.org/display/support"
license=('custom')
depends=('zlib' 'libaec')
makedepends=('time' 'gcc-fortran')
source=("https://support.hdfgroup.org/ftp/HDF5/releases/${_pkgname}-${pkgver:0:4}/${_pkgname}-${pkgver}/src/${_pkgname}-${pkgver}.tar.bz2")
md5sums=('56c5039103c51a40e493b43c504ce982')
prepare() {
[ ! -d build ] && mkdir -p build
}
build() {
cd build
"${srcdir}/${_pkgname}-${pkgver}"/configure \
--prefix=/usr \
--disable-sharedlib-rpath \
--disable-shared \
--docdir=/usr/share/doc/hdf5/ \
--enable-static \
--enable-build-mode=production \
--enable-hl \
--enable-cxx \
--enable-fortran \
--with-pic \
--with-zlib \
--with-szlib
make
}
check() {
cd build
make check
}
package() {
cd build
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/usr/{bin,include,share}
rm -rf "${pkgdir}"/usr/lib/libhdf5.settings
}
|