def METHOD_NAME(self):
    args = [
        "-DENEABLE_CARES=ON",
        "-DENABLE_GNUTLS=ON",
        "-DENABLE_LUA=ON",
        "-DENABLE_MAXMINDDB=ON",
        "-DYACC_EXECUTABLE=" + self.spec["bison"].prefix.bin.yacc,
        "-DGIT_EXECUTABLE=" + self.spec["git"].prefix.bin.git,
        "-DPCAP_INCLUDE_DIR=" + self.spec["libpcap"].prefix.include,
        "-DPCAP_LIB=" + str(self.spec["libpcap"].libs),
        "-DLUA_INCLUDE_DIR=" + self.spec["lua"].prefix.include,
        "-DLUA_LIBRARY=" + str(self.spec["lua"].libs),
        "-DBUILD_wireshark_gtk=OFF",
        "-DENABLE_PORTAUDIO=OFF",
        "-DENABLE_GTK3=OFF",
        "-DBUILD_SMI=OFF",
    ]
    if self.spec.satisfies("+qt"):
        args.append("-DBUILD_wireshark=ON")
        args.append("-DENABLE_APPLICATION_BUNDLE=ON")
        if self.spec["qt"].version >= Version("5"):
            args.append("-DENABLE_QT5=ON")
        else:
            args.append("-DENABLE_QT5=OFF")
    else:
        args.append("-DBUILD_wireshark=OFF")
        args.append("-DENABLE_APPLICATION_BUNDLE=OFF")
        args.append("-DENABLE_QT5=OFF")
    if self.spec.satisfies("+libssh"):
        args.append("-DBUILD_sshdump=ON")
        args.append("-DBUILD_ciscodump=ON")
    else:
        args.append("-DBUILD_sshdump=OFF")
        args.append("-DBUILD_ciscodump=OFF")
    if self.spec.satisfies("+nghttp2"):
        args.append("-DBUILD_NGHTTP2=ON")
    else:
        args.append("-DBUILD_NGHTTP2=OFF")
    return args