wok-current annotate wireshark/receipt @ rev 20471

Up perl (5.14.1); fusioninventory-agent: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 12 18:15:10 2018 +0200 (2018-10-12)
parents a6f7b6b890c2
children 44a17a1f5aaf
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"
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 \
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
pankso@1108 41 rm $fs/usr/lib/wireshark/plugins/$VERSION/*.la
samuel_trassare@14162 42 cp -a $install/usr/bin $fs/usr
samuel_trassare@14162 43 cp -a $install/usr/share/wireshark $fs/usr/share
pankso@1108 44 }