set plugin path
mkdir build
cd build
-CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=${PREFIX}"
+H5_PLUGIN_PATH="${PREFIX}/lib/hdf5/plugin"
+CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=${PREFIX} -DBUILD_TESTS=OFF -DPLUGIN_INSTALL_PATH=${H5_PLUGIN_PATH}"
cmake ${CMAKE_FLAGS} ..
make
make install
