wok-next annotate wireshark/receipt @ rev 18289
knock: set default interface
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 14 10:06:48 2015 +0200 (2015-08-14) |
parents | 7896f0694ef6 |
children | 994ab4549367 |
rev | line source |
---|---|
pankso@1108 | 1 # SliTaz package receipt. |
pankso@1108 | 2 |
pankso@1108 | 3 PACKAGE="wireshark" |
pascal@17408 | 4 VERSION="1.10.11" |
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" |
slaxemulator@10797 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@10797 | 10 WEB_SITE="http://www.wireshark.org/" |
pascal@12563 | 11 WGET_URL="http://wiresharkdownloads.riverbed.com/wireshark/src/$TARBALL" |
slaxemulator@10797 | 12 TAGS="network analyzer" |
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 \ |
slaxemulator@10956 | 17 libgcrypt-dev flex libtasn1-dev bison perl" |
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 \ |
samuel_trassare@13399 | 26 $CONFIGURE_ARGS |
samuel_trassare@13399 | 27 sed -i 's/mozilla/browser/' config.h |
gokhlayeh@11574 | 28 make $MAKEFLAGS && |
slaxemulator@10233 | 29 make install |
pankso@1108 | 30 } |
pankso@1108 | 31 |
pankso@1108 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1108 | 33 genpkg_rules() |
pankso@1108 | 34 { |
samuel_trassare@11742 | 35 mkdir -p $fs/usr/lib \ |
samuel_trassare@12057 | 36 $fs/usr/share |
samuel_trassare@14162 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
samuel_trassare@14162 | 38 cp -a $install/usr/lib/wireshark $fs/usr/lib |
pankso@1108 | 39 rm $fs/usr/lib/wireshark/plugins/$VERSION/*.la |
samuel_trassare@14162 | 40 cp -a $install/usr/bin $fs/usr |
samuel_trassare@14162 | 41 cp -a $install/usr/share/wireshark $fs/usr/share |
pankso@1108 | 42 } |