blob: 88868065eaaf0534bf920fe9d8003d5e3d827735 (
plain)
1 # Description: Headers of the wireshark network sniffer
2 # URL: http://www.wireshark.org
3 # Maintainer: Thomas Penteker, tek at serverop dot de
4 # Depends on:
5
6 name=wireshark-headers
7 version=2.2.5
8 release=1
9 source=(https://www.wireshark.org/download/src/all-versions/wireshark-$version.tar.bz2)
10
11 build() {
12 cd wireshark-$version
13
14 ./configure --prefix=/usr \
15 --with-plugins=/usr/lib/wireshark/plugins \
16 --without-krb5 \
17 --with-qt=no
18
19 install -d $PKG/usr/include/wireshark
20 install -m 644 config.h register.h ws_diag_control.h ws_symbol_export.h $PKG/usr/include/wireshark
21
22 for d in epan epan/crypt epan/dfilter epan/dissectors epan/ftypes epan/wmem wiretap wsutil; do
23 install -d $PKG/usr/include/wireshark/${d}
24 install -m 644 ${d}/*.h $PKG/usr/include/wireshark/${d}
25 done
26
27 }
|