# Description: Headers of the wireshark network sniffer # URL: http://www.wireshark.org # Maintainer: Thomas Penteker, tek at serverop dot de # Depends on: name=wireshark-headers version=2.2.6 release=1 source=(https://www.wireshark.org/download/src/all-versions/wireshark-$version.tar.bz2) build() { cd wireshark-$version ./configure --prefix=/usr \ --with-plugins=/usr/lib/wireshark/plugins \ --without-krb5 \ --with-qt=no install -d $PKG/usr/include/wireshark install -m 644 config.h register.h ws_diag_control.h ws_symbol_export.h $PKG/usr/include/wireshark for d in epan epan/crypt epan/dfilter epan/dissectors epan/ftypes epan/wmem wiretap wsutil; do install -d $PKG/usr/include/wireshark/${d} install -m 644 ${d}/*.h $PKG/usr/include/wireshark/${d} done }