Makefile to create package p7zip for LEDE/OpenWrt.
Only 7z is available, if you need 7za or 7zr, you might freedly modify the MAKE_FLAGS and the install section in file Makefile, don't foget to createfiles/7za or files/7zr using files/7z as template.
cd lede-sdk/
git clone https://github.com/hubutui/p7zip-lede.git package/p7zip
make menuconfigCheck Ultilities->p7zip
make -j 1 V=sAnd you'll get the ipk file under bin directory.