summaryrefslogtreecommitdiff
path: root/manualPorts/hdf5/Pkgfile
blob: 30a1a33a6b4292c0c0c3eae1e7a1444af6824e8b (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
# Description: A general purpose library and file format for storing scientific data.
# URL: http://www.hdfgroup.org/
# Maintainer: Erich Eckner, crux at eckner dot net
# Contributor: Danny Rawlins, crux at romster dot me
# Packager: acrux, acrux at linuxmail dot org
# Depends on: szip zlib openssl

name=hdf5
version=1.10.5
release=1
source=(https://support.hdfgroup.org/ftp/HDF5/current/src/$name-$version.tar.gz)

build() {
ls -A
	cd $name-$version

	./configure \
		--prefix=/usr \
		--mandir=$PKG/usr/share/man \
		--disable-static \
		--disable-hl \
		--enable-threadsafe \
		--with-ssl \
		--with-pthread \
		--with-zlib
	 
	make
	make DESTDIR=$PKG install

	rm -rf $PKG/usr/share/hdf5_examples
	rmdir --ignore-fail-on-non-empty -p $PKG/usr/share

	find $PKG -type f -name README -delete
}