summaryrefslogtreecommitdiff
path: root/homebrew/wireshark/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/wireshark/.make.sh-auto')
-rw-r--r--homebrew/wireshark/.make.sh-auto13
1 files changed, 13 insertions, 0 deletions
diff --git a/homebrew/wireshark/.make.sh-auto b/homebrew/wireshark/.make.sh-auto
new file mode 100644
index 000000000..608d8494d
--- /dev/null
+++ b/homebrew/wireshark/.make.sh-auto
@@ -0,0 +1,13 @@
+pkg:setup
+args = std_cmake_args + %W[-DENABLE_CARES=ON -DENABLE_GNUTLS=ON -DENABLE_MAXMINDDB=ON -DBUILD_wireshark_gtk=OFF -DENABLE_PORTAUDIO=OFF -DENABLE_LUA=ON -DLUA_INCLUDE_DIR=#{Formula["lua@5.1"].opt_include}/lua-5.1 -DLUA_LIBRARY=#{Formula["lua@5.1"].opt_lib}/liblua5.1.dylib -DCARES_INCLUDE_DIR=#{Formula["c-ares"].opt_include} -DGCRYPT_INCLUDE_DIR=#{Formula["libgcrypt"].opt_include} -DGNUTLS_INCLUDE_DIR=#{Formula["gnutls"].opt_include} -DMAXMINDDB_INCLUDE_DIR=#{Formula["libmaxminddb"].opt_include} -DENABLE_SMI=ON -DBUILD_sshdump=ON -DBUILD_ciscodump=ON -DENABLE_NGHTTP2=ON -DBUILD_wireshark=OFF -DENABLE_APPLICATION_BUNDLE=OFF -DENABLE_QT5=OFF ]
+cmake *args .
+make DESTDIR=${PKG_DEST} install
+(include/"wireshark").install Dir["*.h"]
+(include/"wireshark/epan").install Dir["epan/*.h"]
+(include/"wireshark/epan/crypt").install Dir["epan/crypt/*.h"]
+(include/"wireshark/epan/dfilter").install Dir["epan/dfilter/*.h"]
+(include/"wireshark/epan/dissectors").install Dir["epan/dissectors/*.h"]
+(include/"wireshark/epan/ftypes").install Dir["epan/ftypes/*.h"]
+(include/"wireshark/epan/wmem").install Dir["epan/wmem/*.h"]
+(include/"wireshark/wiretap").install Dir["wiretap/*.h"]
+(include/"wireshark/wsutil").install Dir["wsutil/*.h"]