This video shows how to build libyang debian package from scratch
More information can be found on these links:
https://github.com/CESNET/libyang
https://github.com/sartura/libyang/co...
Commands used in video:
git clone -b debian-devel https://github.com/sartura/libyang.git
debuild -us -uc
dpkg-deb -c