The BUILD file for tcpdump is hand-written by converting the autoconf (configure.ac) files to Bazel using rules_cc_autoconf.
configure.ac
rules_cc_autoconf