package Fr

manager	"Benoit Mours <benoit.mours@iphc.cnrs.fr>"
author	"Benoit Mours <benoit.mours@iphc.cnrs.fr>"

use PackageBuild v1r7
use Matlab v8r0p1

set pb_cmake_options "-DENABLE_MATLAB=1 -DENABLE_MATLAB_MEX_COMPILE:BOOL=false -DMatlab_ROOT_DIR=${MATLAB_DIR}"

apply_pattern pb_cmake execs="FrDump FrCopy FrCheck"

make_fragment	install_mex_header
make_fragment	install_mex	-header=install_mex_header

document install_mex matlab_bindings
