#!/usr/bin/make -f

export DH_VERBOSE=1
export DH_COMPAT=10

CMAKE_FLAGS = -DCMAKE_INSTALL_PREFIX:PATH=/usr
CMAKE_FLAGS += -DCMAKE_INSTALL_LIBDIR=lib
CMAKE_FLAGS += -Dwith-boost=ON
CMAKE_FLAGS += -Dwith-mpi=ON
CMAKE_FLAGS += -Dwith-openmp=ON
CMAKE_FLAGS += -Dwith-hdf5=ON
CMAKE_FLAGS += -Dwith-gsl=ON -Dwith-ltdl=ON -Dwith-readline=ON

%:
	dh "$@" 

override_dh_auto_configure:
	dh_auto_configure -- $(CMAKE_FLAGS)

override_dh_auto_test override_dh_installdocs override_dh_installinfo:
