Explained here: Help converting dcp to icc using dcamprof - #7 by ggbutcher
Note that, instead of -p matrix
in the second dcamprof invocation, you would use -p xyzlut
dcamprof can be found here, source code: GitHub - Beep6581/dcamprof: DCamProf is a free and open-source command line tool for making camera profiles, and performing tasks related to camera profiles and profiling.. dcamprof is rather easy to compile, so I’ll leave that up to you…