-
Notifications
You must be signed in to change notification settings - Fork 61
/
hdf5.package
31 lines (24 loc) · 968 Bytes
/
hdf5.package
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
################################################################################
## HDF5 ##
################################################################################
MAJORVER=1.12;MINORVER=2;CHECKSUM=30172c75e436d7f2180e274071a4ca97
#MAJORVER=1.10;MINORVER=8;CHECKSUM=61063043a23dd4a32dcd73a704bb47f2
#MAJORVER=1.10;MINORVER=5;CHECKSUM=e115eeb66e944fa7814482415dd21cc4
VERSION=${MAJORVER}.${MINORVER}
NAME=hdf5-${VERSION}
SOURCE=http://www.hdfgroup.org/ftp/HDF5/releases/hdf5-${MAJORVER}/${NAME}/src/
PACKING=.tar.gz
BUILDCHAIN=autotools
CONFOPTS="--enable-shared --enable-parallel"
INSTALL_PATH=${INSTALL_PATH}/${NAME}
package_specific_register () {
export HDF5_DIR=${INSTALL_PATH}
}
package_specific_conf () {
# Generate configuration file
CONFIG_FILE=${CONFIGURATION_PATH}/${NAME}
rm -f ${CONFIG_FILE}
echo "
export HDF5_DIR=${INSTALL_PATH}
" >> $CONFIG_FILE
}