wok-current view wireshark/receipt @ rev 2116
wireshark: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 30 15:50:14 2009 +0000 (2009-01-30) |
parents | 169d84064c65 |
children | 9f8d05879d06 |
line source
1 # SliTaz package receipt.
3 PACKAGE="wireshark"
4 VERSION="1.0.3"
5 CATEGORY="network"
6 SHORT_DESC="Wireshark is an award-winning network protocol analyzer."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gnutls libgpg-error libcap gtk+ portaudio"
9 BUILD_DEPENDS="gnutls-dev libgpg-error-dev libcap-dev gtk+-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.wireshark.org/"
12 WGET_URL="http://www.wireshark.org/download/src/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 --enable-setuid-install \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib $fs/usr/share
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/lib/wireshark $fs/usr/lib
33 rm $fs/usr/lib/wireshark/plugins/$VERSION/*.la
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/share/wireshark $fs/usr/share
36 }