libpcap
build libpcap for Android

step1、install ndk-pkg

step2、update ndk-pkg-formula-repository

ndk-pkg update

step3、build and install libpcap

ndk-pkg install libpcap
view the formula of libpcap
ndk-pkg formula view libpcap

{{ formula }}
edit the formula of libpcap

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

ndk-pkg formula edit libpcap

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

ndk-pkg install libpcap