build gnu-tar for iOS

step1、install Xcode

step2、install xcpkg

step3、update xcpkg-formula-repository

xcpkg update

step4、build and install gnu-tar

xcpkg install gnu-tar
view the formula of gnu-tar
xcpkg formula view gnu-tar

{{ formula }}
edit the formula of gnu-tar

if the formula of gnu-tar dosn't meet your needs, you can edit it ⤵︎

xcpkg formula edit gnu-tar

after editing, you may want to rebuild this package ⤵︎

xcpkg install gnu-tar