Note to generate the debian package !
apt install git git-buildpackage dpkg-dev devscripts equivs
If you want use ntb in intramfs, you should satisfy it and create a stand-alone binary with pyinstaller :
apt install python3-pip
pip install pyinstaller
git clone https://forge.greyc.fr/git/ntbclient
cd ntbclient
vi ...
git add .
git commit
vi debian/control
export DEBEMAIL="noreply@example.com"
VERSION=`grep "Standards-Version:" debian/control | cut -f2 -d" "` ; echo $VERSION
gbp dch --ignore-branch --id-length=8 -R -N ${VERSION}
mk-build-deps --install
dpkg-buildpackage
ls -al ..