step1、install ndk-pkg
step2、update ndk-pkg-formula-repository
ndk-pkg update
step3、build and install libevent
ndk-pkg install libevent
ndk-pkg formula view libevent
{{ formula }}
if the formula of libevent dosn't meet your needs, you can edit it ⤵︎
ndk-pkg formula edit libevent
after editing, you may want to rebuild this package ⤵︎
ndk-pkg install libevent