wok-6.x annotate wireshark/receipt @ rev 19168

Up strace(4.12)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 01 02:52:45 2016 +0300 (2016-06-01)
parents 994ab4549367
children e2ce461eef7f
rev   line source
pankso@1108 1 # SliTaz package receipt.
pankso@1108 2
pankso@1108 3 PACKAGE="wireshark"
pascal@18619 4 VERSION="2.0.0"
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@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@18619 17 libgcrypt-dev flex libtasn1-dev bison perl wget"
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 \
pascal@18619 27 --with-gtk2=yes \
pascal@18619 28 --with-gtk3=no \
samuel_trassare@13399 29 $CONFIGURE_ARGS
samuel_trassare@13399 30 sed -i 's/mozilla/browser/' config.h
gokhlayeh@11574 31 make $MAKEFLAGS &&
slaxemulator@10233 32 make install
pankso@1108 33 }
pankso@1108 34
pankso@1108 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@1108 36 genpkg_rules()
pankso@1108 37 {
samuel_trassare@11742 38 mkdir -p $fs/usr/lib \
samuel_trassare@12057 39 $fs/usr/share
samuel_trassare@14162 40 cp -a $install/usr/lib/*.so* $fs/usr/lib
samuel_trassare@14162 41 cp -a $install/usr/lib/wireshark $fs/usr/lib
pankso@1108 42 rm $fs/usr/lib/wireshark/plugins/$VERSION/*.la
samuel_trassare@14162 43 cp -a $install/usr/bin $fs/usr
samuel_trassare@14162 44 cp -a $install/usr/share/wireshark $fs/usr/share
pankso@1108 45 }