wok annotate wireshark/receipt @ rev 11813
Up: lighttpd (1.4.30) - Security fix
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 25 17:33:19 2012 +0100 (2012-02-25) |
parents | 96eb24dd8b9d |
children | 9c762d56b413 |
rev | line source |
---|---|
pankso@1108 | 1 # SliTaz package receipt. |
pankso@1108 | 2 |
pankso@1108 | 3 PACKAGE="wireshark" |
samuel_trassare@11733 | 4 VERSION="1.6.5" |
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" |
slaxemulator@10797 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@10797 | 9 WEB_SITE="http://www.wireshark.org/" |
slaxemulator@10797 | 10 WGET_URL="http://media-2.cacetech.com/wireshark/src/$TARBALL" |
slaxemulator@10797 | 11 TAGS="network analyzer" |
slaxemulator@10797 | 12 |
samuel_trassare@11742 | 13 DEPENDS="gnutls libgpg-error libcap gtk+ pcre xorg-libXdamage libcomerr3 attr \ |
samuel_trassare@11742 | 14 libgcrypt portaudio libpcap libkrb5" |
samuel_trassare@11742 | 15 BUILD_DEPENDS="gnutls-dev libgpg-error-dev libcap-dev libpcap-dev gtk+-dev \ |
slaxemulator@10956 | 16 libgcrypt-dev flex libtasn1-dev bison perl" |
pankso@1108 | 17 |
pankso@1108 | 18 # Rules to configure and make the package. |
pankso@1108 | 19 compile_rules() |
pankso@1108 | 20 { |
pankso@1108 | 21 cd $src |
pankso@1108 | 22 ./configure \ |
pankso@1108 | 23 --prefix=/usr \ |
pankso@1108 | 24 --mandir=/usr/share/man \ |
pankso@1108 | 25 --enable-setuid-install \ |
pankso@4096 | 26 --disable-portaudio \ |
pascal@1499 | 27 $CONFIGURE_ARGS && |
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@11742 | 36 $fs/usr/share \ |
samuel_trassare@11742 | 37 $fs/usr/share/applications \ |
samuel_trassare@11742 | 38 $fs/usr/share/pixmaps |
samuel_trassare@11742 | 39 |
pankso@1108 | 40 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@1108 | 41 cp -a $_pkg/usr/lib/wireshark $fs/usr/lib |
pankso@1108 | 42 rm $fs/usr/lib/wireshark/plugins/$VERSION/*.la |
pankso@1108 | 43 cp -a $_pkg/usr/bin $fs/usr |
pankso@1108 | 44 cp -a $_pkg/usr/share/wireshark $fs/usr/share |
samuel_trassare@11742 | 45 |
samuel_trassare@11742 | 46 cp -a $stuff/wireshark.desktop $fs/usr/share/applications |
samuel_trassare@11742 | 47 cp -a $stuff/wireshark.png $fs/usr/share/pixmaps |
pankso@1108 | 48 } |