How to compile p7zip to lede / openwrt?

I tried submitting those packages myself, can you please take a look and see if they're correctly submitted?
https://github.com/lede-project/source/pull/1224