build lzip for Android

step1、install build tools Android NDKversion >= r19) and ndk-pkg

step2、update ndk-pkg-formula-repository

ndk-pkg update

step3、build and install lzip

ndk-pkg install lzip
additional steps

view the preset formula of lzip⤵︎

ndk-pkg formula view lzip
{{ formula }}

if the preset formula of lzip dosn't meet your needs, you can edit the preset formula of lzip, then build it ⤵︎

ndk-pkg formula edit lzip