wok annotate wireshark/receipt @ rev 4620
ajaxterm: add knock support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 17 19:13:33 2009 +0100 (2009-12-17) |
parents | c3775281e8c7 |
children | 35ec83c60e58 |
rev | line source |
---|---|
pankso@1108 | 1 # SliTaz package receipt. |
pankso@1108 | 2 |
pankso@1108 | 3 PACKAGE="wireshark" |
allan316@4495 | 4 VERSION="1.2.4" |
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" |
pankso@4096 | 8 DEPENDS="gnutls libgpg-error libcap gtk+ pcre xorg-libXdamage" |
pankso@4096 | 9 BUILD_DEPENDS="gnutls-dev libgpg-error-dev libcap-dev libpcap gtk+-dev \ |
pankso@4096 | 10 libgcrypt-dev" |
pankso@2153 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@1108 | 12 WEB_SITE="http://www.wireshark.org/" |
pankso@2153 | 13 WGET_URL="http://media-2.cacetech.com/wireshark/src/$TARBALL" |
pankso@1108 | 14 |
pankso@1108 | 15 # Rules to configure and make the package. |
pankso@1108 | 16 compile_rules() |
pankso@1108 | 17 { |
pankso@1108 | 18 cd $src |
pankso@1108 | 19 ./configure \ |
pankso@1108 | 20 --prefix=/usr \ |
pankso@1108 | 21 --mandir=/usr/share/man \ |
pankso@1108 | 22 --enable-setuid-install \ |
pankso@4096 | 23 --disable-portaudio \ |
pascal@1499 | 24 $CONFIGURE_ARGS && |
pascal@1499 | 25 make && |
pankso@1108 | 26 make DESTDIR=$PWD/_pkg install |
pankso@1108 | 27 } |
pankso@1108 | 28 |
pankso@1108 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1108 | 30 genpkg_rules() |
pankso@1108 | 31 { |
pankso@1108 | 32 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@1108 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@1108 | 34 cp -a $_pkg/usr/lib/wireshark $fs/usr/lib |
pankso@1108 | 35 rm $fs/usr/lib/wireshark/plugins/$VERSION/*.la |
pankso@1108 | 36 cp -a $_pkg/usr/bin $fs/usr |
pankso@1108 | 37 cp -a $_pkg/usr/share/wireshark $fs/usr/share |
pankso@1108 | 38 } |