wok annotate wireshark/receipt @ rev 21426
updated mdp (0.91.3 -> 1.0.15)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 25 17:23:30 2019 +0100 (2019-04-25) |
parents | 64042ecea7ad |
children | 535c806240cc |
rev | line source |
---|---|
pankso@1108 | 1 # SliTaz package receipt. |
pankso@1108 | 2 |
pankso@1108 | 3 PACKAGE="wireshark" |
erkan@20329 | 4 VERSION="2.6.1" |
pankso@1108 | 5 CATEGORY="network" |
pankso@1108 | 6 SHORT_DESC="Wireshark is an award-winning network protocol analyzer." |
pankso@1108 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
erkan@20329 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@20679 | 10 WEB_SITE="https://www.wireshark.org/" |
pascal@18619 | 11 WGET_URL="https://1.eu.dl.wireshark.org/src/$TARBALL" |
al@19168 | 12 TAGS="network analysis" |
slaxemulator@10797 | 13 |
samuel_trassare@11742 | 14 DEPENDS="gnutls libgpg-error libcap gtk+ pcre xorg-libXdamage libcomerr3 attr \ |
samuel_trassare@11742 | 15 libgcrypt portaudio libpcap libkrb5" |
samuel_trassare@11742 | 16 BUILD_DEPENDS="gnutls-dev libgpg-error-dev libcap-dev libpcap-dev gtk+-dev \ |
pascal@20532 | 17 libgcrypt-dev flex libtasn1-dev bison perl wget libgnutls" |
pankso@1108 | 18 |
pankso@1108 | 19 # Rules to configure and make the package. |
pankso@1108 | 20 compile_rules() |
pankso@1108 | 21 { |
pankso@1108 | 22 ./configure \ |
pankso@1108 | 23 --prefix=/usr \ |
pankso@1108 | 24 --mandir=/usr/share/man \ |
pankso@1108 | 25 --enable-setuid-install \ |
pascal@18619 | 26 --with-qt=no \ |
erkan@20329 | 27 --with-gtk=2 \ |
samuel_trassare@13399 | 28 $CONFIGURE_ARGS |
samuel_trassare@13399 | 29 sed -i 's/mozilla/browser/' config.h |
gokhlayeh@11574 | 30 make $MAKEFLAGS && |
slaxemulator@10233 | 31 make install |
pankso@1108 | 32 } |
pankso@1108 | 33 |
pankso@1108 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1108 | 35 genpkg_rules() |
pankso@1108 | 36 { |
samuel_trassare@11742 | 37 mkdir -p $fs/usr/lib \ |
samuel_trassare@12057 | 38 $fs/usr/share |
samuel_trassare@14162 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
samuel_trassare@14162 | 40 cp -a $install/usr/lib/wireshark $fs/usr/lib |
samuel_trassare@14162 | 41 cp -a $install/usr/bin $fs/usr |
samuel_trassare@14162 | 42 cp -a $install/usr/share/wireshark $fs/usr/share |
pankso@1108 | 43 } |