Creating packages from source for new users to openwrt

Hello.
I want to use the PAM function pam_ssh_auth_agent. It is commonly available for Debian, Centos, homebrew etc. But don't see it for OpenWRT.

So I am considering building from source. From here https://github.com/jbeverly/pam_ssh_agent_auth

My question is, how complicated is this likely to be? I am not a developer and mostly my limits are 'configure && make && make install' or simple variants. Once I have the various development packages installed, is it likely to be a straightforward exercise? Have I other options for this?

Thank you.

Your host distribution's -dev packages won't help you here, you need to add packaging (and all the in-system orchestration to hook up the compiled binaries into OpenWrt) within OpenWrt's buildsystem, e.g. in a private package feed.

Not trivial, but the wiki has some documentation and you have plenty prior art in OpenWrt's main buildroot packages and the various default feeds. Not that different to (properly) packaging sources for *.deb, *.rpm, *.ebuild, etc.