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